Skip to content

Rect.Intersect method

Returns the intersection of this rectangle with another rectangle; Empty when they do not overlap.

public Rect Intersect(Rect rect)
parameter description
rect The rectangle to intersect with.