Region::Union Method (GraphicsPath^)

 

Updates this Region to the union of itself and the specified GraphicsPath.

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

public:
void Union(
	GraphicsPath^ path
)

Parameters

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

The GraphicsPath to unite with this Region.

Exception Condition
ArgumentNullException

path is null.

For a code example, see the Union(RectangleF) and Complement(GraphicsPath^) methods.

.NET Framework
Available since 1.1
Return to top
Show: