System::Drawing::Region::Union method

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

See Also

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

See Also

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

See Also

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

See Also