TcxCanvas.DrawRegion(TcxRegionHandle,TColor,TColor,Integer,Integer) Method
In This Article
Draws a specified region on the canvas.
#Declaration
Delphi
procedure DrawRegion(ARegion: TcxRegionHandle; AContentColor: TColor = clDefault; ABorderColor: TColor = clDefault; ABorderWidth: Integer = 1; ABorderHeight: Integer = 1); overload;
#Parameters
Name | Type |
---|---|
ARegion | Tcx |
AContent |
TColor |
ABorder |
TColor |
ABorder |
Integer |
ABorder |
Integer |
#Remarks
Call either of the overloaded procedures to draw a region with the specified outline and fill colors. The first procedure variant accepts a target region while the second variant accepts a handle to the target region as the ARegion parameter. Pass the required solid fill and outline colors as the AContentColor and ABorderColor parameters. Additionally, you can pass pixel width and height of the vertical and horizontal brush strokes that form the region outline.
Note
The Draw
See Also