TcxCanvas.BrushCopy(TRect,TBitmap,TRect,TColor) Method
In This Article
Draws a portion of the specified bitmap on the canvas.
#Declaration
#Parameters
Name | Type |
---|---|
Dest | TRect |
Bitmap | TBitmap |
Source | TRect |
Color | TColor |
#Remarks
Call this procedure to draw a rectangular portion of an image within a bitmap container passed as the Bitmap parameter. The Source and Dest parameters specify a portion of the source image and a target rectangle on the canvas.
The BrushCopy procedure uses a mask color to blend the source image with the target rectangle on the canvas. The procedure treats this color as transparent in the source image. Pass a mask color as the Color parameter.
Note
The Brush
See Also