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)
ParameterTypeDescription
rectRectangleFThe 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)
ParameterTypeDescription
rectRectangleThe 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)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath to complement this Region.

Exceptions

exceptioncondition
ArgumentNullExceptionpath 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)
ParameterTypeDescription
regionRegionThe Region object to complement this Region object.

Exceptions

exceptioncondition
ArgumentNullExceptionregion isnull.

See Also