TcxCanvas.GetClipRegion(Boolean) Method
Copies the clip region.
Declaration
function GetClipRegion(AConsiderOrigin: Boolean = True): TcxRegion;
Parameters
Name | Type |
---|---|
AConsiderOrigin | Boolean |
Returns
Type |
---|
TcxRegion |
Remarks
This function returns a copy of the clip region applied to the canvas. The optional AConsiderOrigin parameter defines if the returned clip region’s position shifts horizontally and/or vertically according to the DCOrigin property value. Pass False as this parameter to ignore the canvas origin.
Call the SetClipRegion function to modify or redefine the clip region of the canvas.
See Also