TcxCustomImageList.Draw(TCanvas,TRect,Integer,Boolean,Boolean,Boolean) Method
In This Article
Draws a specific image in the list on the specified canvas.
#Declaration
Delphi
#Parameters
Name | Type | Description |
---|---|---|
ACanvas | TCanvas | The target canvas. |
ARect | TRect | The target rectangle. |
AIndex | Integer | The index of the target image. |
AStretch | Boolean | If True, the procedure upscales or downscales the image to fit the rectangle dimensions. If False, the procedure truncates the image when it exceeds the target rectangle. |
ASmooth |
Boolean | If True, the procedure smooths the scaled image; otherwise, the procedure does not perform any additional operations on the image. |
AEnabled | Boolean | If True, the procedure draws image colors as is. If False, the procedure displays the image in grayscale colors. |
See Also