Method Union
Union(Rectangle)
Adds the specified rectangle to the region. Merges all rectangles into a minimal or granular bounding shape.
public void Union(Rectangle rectangle)
Parameters
rectangle
RectangleThe rectangle to add to the region.
Union(Region?)
Adds the specified region to this region. Merges all rectangles into a minimal or granular bounding shape.
public void Union(Region? region)
Parameters
region
RegionThe region to add to this region.