Method Intersect
Intersect(Rectangle)
Updates the region to be the intersection of itself with the specified rectangle.
public void Intersect(Rectangle rectangle)
Parameters
rectangleRectangleThe rectangle to intersect with the region.
Remarks
This is a helper method that is equivalent to calling Combine(Rectangle, RegionOp) with Intersect.
Intersect(Region?)
Updates the region to be the intersection of itself with the specified region.
public void Intersect(Region? region)
Parameters
regionRegionThe region to intersect with this region.
Remarks
This is a helper method that is equivalent to calling Combine(Region?, RegionOp) with Intersect.