TcxCanvas.ExcludeFrameRect(TRect,Integer,TcxBorders) Method
Excludes a specified frame or any number of its borders from the clip region.
Declaration
procedure ExcludeFrameRect(const R: TRect; ALineWidth: Integer = 1; ABorders: TcxBorders = cxBordersAll);
Parameters
Name | Type |
---|---|
R | TRect |
ALineWidth | Integer |
ABorders | TcxBorders |
Remarks
Call this procedure to exclude a thin rectangular frame from the clip region. Pass the target rectangle and its pixel width as the R and ALineWidth parameters, respectively. Additionally, you can pass a set of borders as the ABorders optional parameter to exclude only specific borders rather than a full frame.
See Also