Xor()

Region::Xor(const RectangleF&) method

Replaces the region represented by the current object with the portions of this region and the region defined by the specified recangle that do not intersect.

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

Arguments

ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to xor with the region represented by the current object

Region::Xor(const Rectangle&) method

Replaces the region represented by the current object with the portions of this region and the region defined by the specified recangle that do not intersect.

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

Arguments

ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to xor with the region represented by the current object

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

Replaces the region represented by the current object with the portions of this region and the region defined by the specified path that do not intersect.

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

Arguments

ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to xor with the region represented by the current object

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

Replaces the region represented by the current object with the portions of this region and the specified region that do not intersect.

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

Arguments

ParameterTypeDescription
regionconst SharedPtr<Region>&A region to xor with the region represented by the current object

See Also