UI module

intersect

procedure · 1 overloadsince 0.31.0Source

The overlap of two rectangles (zero-sized when they do not touch).

intersect :: (a: Rect, b: Rect) -> Rect

The overlap of two rectangles (zero-sized when they do not touch).

Parameters

a: Rect
the first rectangle.
b: Rect
the second rectangle.

Returns

See also