Rectangle.Intersect

Rectangle.Intersect method

Intersects to rectangles.

public Rectangle Intersect(Rectangle otherRect)
ParameterTypeDescription
otherRectRectangleRectangle to which this recatangle be intersected.

Return Value

Intersection of rectangles; null if rectangles are not intersected.

See Also