TcxCanvas.FrameRegion(TcxRegionHandle,TColor,Integer,Integer) Method
Draws an outline of the specified region on the canvas.
Declaration
procedure FrameRegion(ARegion: TcxRegionHandle; AColor: TColor = clDefault; ABorderWidth: Integer = 1; ABorderHeight: Integer = 1); overload;
Parameters
Name | Type |
---|---|
ARegion | TcxRegionHandle |
AColor | TColor |
ABorderWidth | Integer |
ABorderHeight | Integer |
Remarks
Call either of these overloaded procedures to outline a simple or complex region on the canvas. Pass an outline color as the AColor parameter. Additionally, you can use the optional ABorderWidth and ABorderHeight parameters to adjust the pixel width and height of the vertical and horizontal brush strokes, respectively.
The first FillRegion procedure variant accepts a target region as the ARegion parameter while the second variant accepts a handle to the target region.
See Also