System::Drawing::Region::Xor method

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)
ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to xor with the region represented by the current object

See Also

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)
ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to xor with the region represented by the current object

See Also

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)
ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to xor with the region represented by the current object

See Also

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)
ParameterTypeDescription
regionconst SharedPtr<Region>&A region to xor with the region represented by the current object

See Also