operator | method

Rect operator |(
  1. Rect other
)

Returns an intersection of this rectangle and other.

An alias for intersect.

Implementation

Rect operator |(Rect other) => intersect(other);