CreateClipRegion Method
CreateClipRegion(IPath)
Creates clip region for specified graphics path.
Note! The clip region should NOT dispose passed graphics path, it is managed by the outer code.
Declaration
public override IClipRegion CreateClipRegion(IPath graphicsPath)
Public Overrides Function CreateClipRegion(graphicsPath As IPath) As IClipRegion
Parameters
| Type |
Name |
Description |
| IPath |
graphicsPath |
|
Returns
| Type |
Description |
| IClipRegion |
|
Overrides
C1.Document.Util.C1Graphics.CreateClipRegion(C1.Document.Util.IPath)
CreateClipRegion(Rect)
Creates clip region for specified bounds.
Declaration
public override IClipRegion CreateClipRegion(Rect bounds)
Public Overrides Function CreateClipRegion(bounds As Rect) As IClipRegion
Parameters
| Type |
Name |
Description |
| Rect |
bounds |
|
Returns
| Type |
Description |
| IClipRegion |
|
Overrides