Returns a new rectangle that is the intersection of the given rectangle and this rectangle.
Source
RelativeRect intersect(RelativeRect other) { return new RelativeRect.fromLTRB( math.max(left, other.left), math.max(top, other.top), math.max(right, other.right), math.max(bottom, other.bottom) ); }