Exclude

Region.Exclude method (1 of 4)

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)
Parameter Type Description
rect RectangleF The RectangleF structure to exclude from this Region.

See Also


Region.Exclude method (2 of 4)

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)
Parameter Type Description
rect Rectangle The Rectangle structure to exclude from this Region.

See Also


Region.Exclude method (3 of 4)

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

public void Exclude(GraphicsPath path)
Parameter Type Description
path GraphicsPath The GraphicsPath to exclude from this Region.

Exceptions

exception condition
ArgumentNullException path is null.

See Also


Region.Exclude method (4 of 4)

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

public void Exclude(Region region)
Parameter Type Description
region Region The Region to exclude from this Region.

Exceptions

exception condition
ArgumentNullException region is null.

See Also