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)
Parameters
Type |
Name |
Description |
IPath |
graphicsPath |
|
Returns
Type |
Description |
IClipRegion |
|
Overrides
C1.WPF.Document.Util.C1Graphics.CreateClipRegion(C1.WPF.Document.Util.IPath)
CreateClipRegion(Rect)
Creates clip region for specified bounds.
Declaration
public override IClipRegion CreateClipRegion(Rect bounds)
Parameters
Type |
Name |
Description |
Rect |
bounds |
|
Returns
Type |
Description |
IClipRegion |
|
Overrides
C1.WPF.Document.Util.C1Graphics.CreateClipRegion(System.Windows.Rect)