[]
Creates a clip region from a graphics path.
Use PushClip(IClipRegion) and PopClip(IClipRegion) to set/remove clipping.
public IClipRegion CreateClipRegion(IPath graphicsPath)
Public Function CreateClipRegion(graphicsPath As IPath) As IClipRegion
Type | Name | Description |
---|---|---|
IPath | graphicsPath | The path to create the clip region from. |
Type | Description |
---|---|
IClipRegion | The created clip region. |
Creates a clip region from a rectangle.
public IClipRegion CreateClipRegion(RectangleF bounds)
Public Function CreateClipRegion(bounds As RectangleF) As IClipRegion
Type | Name | Description |
---|---|---|
RectangleF | bounds | The rectangle to create the clip region from. |
Type | Description |
---|---|
IClipRegion | The created clip region. |