Region::Xor Method (GraphicsPath^)

 

Updates this Region to the union minus the intersection of itself with the specified GraphicsPath.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void Xor(
	GraphicsPath^ path
)

Parameters

path
Type: System.Drawing.Drawing2D::GraphicsPath^

The GraphicsPath to Xor with this Region.

Exception Condition
ArgumentNullException

path is null.

For a code example, see the Xor(RectangleF) andComplement(GraphicsPath^) methods.

.NET Framework
Available since 1.1
Return to top
Show: