System::Drawing::Region::Exclude method

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)
ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to exclude

See Also

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)
ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to exclude

See Also

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)
ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to exclude

See Also

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)
ParameterTypeDescription
regionconst SharedPtr<Region>&A region to exclude

See Also