Region.Complement

Complement(RectangleF)

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


Complement(Rectangle)

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


Complement(GraphicsPath)

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


Complement(Region)

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