Union()

Region::Union(const RectangleF&) method

Replaces the region represented by the current object with the result of union operation of this region and a region defined by the specified rectangle.

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

Arguments

ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to unite this region with

Region::Union(const Rectangle&) method

Replaces the region represented by the current object with the result of union of this region and a region defined by the specified rectangle.

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

Arguments

ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to unite this region with

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

Replaces the region represented by the current object with the result of union of this region and a region defined by the specified path.

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

Arguments

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

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

Replaces the region represented by the current object with the result of union of this region and and the specified region.

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

Arguments

ParameterTypeDescription
regionconst SharedPtr<Region>&A region to unite this region with

See Also