Graphics.SetClip
SetClip(Graphics)
Sets the clipping region of this Graphics
to the Clip property of the specified Graphics
public void SetClip(Graphics g)
Parameter | Type | Description |
---|---|---|
g | Graphics | The Graphics - to source the Clip property . |
See Also
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(Graphics, CombineMode)
Sets the clipping region of this Graphics
to the result of the specified combining operation of the current clip region and the Clip property of the specified Graphics
.
public void SetClip(Graphics g, CombineMode combineMode)
Parameter | Type | Description |
---|---|---|
g | Graphics | The Graphics that specifies the clip region to combine. |
combineMode | CombineMode | The member of the CombineMode enumeration that specifies the combining operation to use. |
See Also
- enum CombineMode
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(Rectangle)
Sets the clipping region of this Graphics
to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle
structure.
public void SetClip(Rectangle rect)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle structure to combine. |
See Also
- struct Rectangle
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(Rectangle, CombineMode)
Sets the clipping region of this Graphics
to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle
structure.
public void SetClip(Rectangle rect, CombineMode combineMode)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle structure to combine. |
combineMode | CombineMode | The Member of the CombineMode enumeration that specifies the combining operation to use. |
See Also
- struct Rectangle
- enum CombineMode
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(RectangleF)
Sets the clipping region of this Graphics
to the result of the specified operation combining the current clip region and the rectangle specified by a RectangleF
structure.
public void SetClip(RectangleF rect)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The RectangleF structure to combine. |
See Also
- struct RectangleF
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(RectangleF, CombineMode)
Sets the clipping region of this Graphics
to the result of the specified operation combining the current clip region and the rectangle specified by a RectangleF
structure.
public void SetClip(RectangleF rect, CombineMode combineMode)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The Rectangle structure to combine. |
combineMode | CombineMode | The combine mode. |
See Also
- struct RectangleF
- enum CombineMode
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(GraphicsPath)
Sets the clipping region of this Graphics
to the specified GraphicsPath
.
public void SetClip(GraphicsPath path)
Parameter | Type | Description |
---|---|---|
path | GraphicsPath | The GraphicsPath that represents the new clip region. |
See Also
- class GraphicsPath
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(GraphicsPath, CombineMode)
Sets the clipping region of this Graphics
to the result of the specified operation combining the current clip region and the specified GraphicsPath
.
public void SetClip(GraphicsPath path, CombineMode combineMode)
Parameter | Type | Description |
---|---|---|
path | GraphicsPath | The GraphicsPath to combine.. |
combineMode | CombineMode | The member of the CombineMode enumeration that specifies the combining operation to use.. |
See Also
- class GraphicsPath
- enum CombineMode
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
SetClip(Region, CombineMode)
Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified Region.
public void SetClip(Region region, CombineMode combineMode)
Parameter | Type | Description |
---|---|---|
region | Region | Region to combine. |
combineMode | CombineMode | Member from the CombineMode enumeration that specifies the combining operation to use. |
See Also
- class Region
- enum CombineMode
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing