toMathRectangle method

Rectangle<num> toMathRectangle()

Converts this Rect into a math.Rectangle.

Implementation

math.Rectangle toMathRectangle() => math.Rectangle(left, top, width, height);