Region::Complement Method (Rectangle)

 

Updates this Region to contain the portion of the specified Rectangle structure that does not intersect with this Region.

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

public:
void Complement(
	Rectangle rect
)

Parameters

rect
Type: System.Drawing::Rectangle

The Rectangle structure to complement this Region.

For an example, see the Complement(RectangleF) method.

.NET Framework
Available since 1.1
Return to top
Show: