Graphics.SetClip

SetClip(Graphics)

Sets the clipping region of this Graphics to the Clip property of the specified Graphics

public void SetClip(Graphics g)
ParameterTypeDescription
gGraphicsThe Graphics - to source the Clip property .

See Also


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)
ParameterTypeDescription
gGraphicsThe Graphics that specifies the clip region to combine.
combineModeCombineModeThe member of the CombineMode enumeration that specifies the combining operation to use.

See Also


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)
ParameterTypeDescription
rectRectangleThe Rectangle structure to combine.

See Also


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)
ParameterTypeDescription
rectRectangleThe Rectangle structure to combine.
combineModeCombineModeThe Member of the CombineMode enumeration that specifies the combining operation to use.

See Also


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)
ParameterTypeDescription
rectRectangleFThe RectangleF structure to combine.

See Also


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)
ParameterTypeDescription
rectRectangleFThe Rectangle structure to combine.
combineModeCombineModeThe combine mode.

See Also


SetClip(GraphicsPath)

Sets the clipping region of this Graphics to the specified GraphicsPath .

public void SetClip(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath that represents the new clip region.

See Also


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)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath to combine..
combineModeCombineModeThe member of the CombineMode enumeration that specifies the combining operation to use..

See Also


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)
ParameterTypeDescription
regionRegionRegion to combine.
combineModeCombineModeMember from the CombineMode enumeration that specifies the combining operation to use.

See Also