Region.Exclude

Exclude(RectangleF)

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

public void Exclude(RectangleF rect)
ParameterTypeDescription
rectRectangleFThe RectangleF structure to exclude from this Region.

See Also


Exclude(Rectangle)

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

public void Exclude(Rectangle rect)
ParameterTypeDescription
rectRectangleThe Rectangle structure to exclude from this Region.

See Also


Exclude(GraphicsPath)

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

public void Exclude(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath to exclude from this Region.

Exceptions

exceptioncondition
ArgumentNullExceptionpath is null.

See Also


Exclude(Region)

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

public void Exclude(Region region)
ParameterTypeDescription
regionRegionThe Region to exclude from this Region.

Exceptions

exceptioncondition
ArgumentNullExceptionregion is null.

See Also