Method MinimalUnion
MinimalUnion(Rectangle)
Adds the specified rectangle to the region. Merges all rectangles into the smallest possible bounding shape.
public void MinimalUnion(Rectangle rectangle)
Parameters
rectangle
RectangleThe rectangle to add to the region.
MinimalUnion(Region?)
Adds the specified region to this region. Merges all rectangles into the smallest possible bounding shape.
public void MinimalUnion(Region? region)
Parameters
region
RegionThe region to add to this region.