Complement

Region.Complement method (1 of 4)

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

public void Complement(RectangleF rect)
Parameter Type Description
rect RectangleF The RectangleF structure to complement this Region.

See Also


Region.Complement method (2 of 4)

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

public void Complement(Rectangle rect)
Parameter Type Description
rect Rectangle The Rectangle structure to complement this Region.

See Also


Region.Complement method (3 of 4)

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

public void Complement(GraphicsPath path)
Parameter Type Description
path GraphicsPath The GraphicsPath to complement this Region.

Exceptions

exception condition
ArgumentNullException path isnull.

See Also


Region.Complement method (4 of 4)

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

public void Complement(Region region)
Parameter Type Description
region Region The Region object to complement this Region object.

Exceptions

exception condition
ArgumentNullException region isnull.

See Also