Exclude()

Region::Exclude(const RectangleF&) method

Replaces the region represented by the current object with the result of exclusion of the region defined by the specified rectange from it.

void System::Drawing::Region::Exclude(const RectangleF &rect)

Arguments

ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to exclude

Region::Exclude(const Rectangle&) method

Replaces the region represented by the current object with the result of exclusion of the region defined by the specified rectange from it.

void System::Drawing::Region::Exclude(const Rectangle &rect)

Arguments

ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to exclude

Region::Exclude(const SharedPtr<Drawing2D::GraphicsPath>&) method

Replaces the region represented by the current object with the result of exclusion of the region defined by the specified path from it.

void System::Drawing::Region::Exclude(const SharedPtr<Drawing2D::GraphicsPath> &path)

Arguments

ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to exclude

Region::Exclude(const SharedPtr<Region>&) method

Replaces the region represented by the current object with the result of exclusion of the specified region from it.

void System::Drawing::Region::Exclude(const SharedPtr<Region> &region)

Arguments

ParameterTypeDescription
regionconst SharedPtr<Region>&A region to exclude

See Also