System::Drawing::Region::Complement method

Region::Complement(const RectangleF&) method

Replaces the region represented by the current object with the portion of the region defined by the specified recangle that does not intersect with this region.

void System::Drawing::Region::Complement(const RectangleF &rect)
ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to complement

See Also

Region::Complement(const Rectangle&) method

Replaces the region represented by the current object with the portion of the region defined by the specified recangle that does not intersect with this region.

void System::Drawing::Region::Complement(const Rectangle &rect)
ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to complement

See Also

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

Replaces the region represented by the current object with the portion of the region defined by the specified path that does not intersect with this region.

void System::Drawing::Region::Complement(const SharedPtr<Drawing2D::GraphicsPath> &path)
ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to complement

See Also

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

Replaces the region represented by the current object with the portion of the specified region that does not intersect with this region.

void System::Drawing::Region::Complement(const SharedPtr<Region> &region)
ParameterTypeDescription
regionconst SharedPtr<Region>&A region to complement

See Also