The area of the rectangle
Y coordinate of the point
Whether the rectangle contains the point
X coordinate of the point
Y coordinate of the point
Whether the rectangle contains the point
Similar to Rectangle.overlap but ignores the vertical location.
Whether the two rectangles overlap horizontally
Find the intersection between the two rectangles
another Mtk.Rectangle
TRUE is some intersection exists and is not degenerate, FALSE otherwise.
Similar to Rectangle.intersect but doesn't provide the location of the intersection.
Whether the two rectangles overlap
This function transforms the values in rect in order to compensate for
transform applied to a MetaMonitor, making them match the viewport. Note
that compensating implies that for a clockwise rotation of the MetaMonitor
an anti-clockwise rotation has to be applied to rect.
the width of the target space
the height of the target space
the transformed Mtk.Rectangle
Computes the union of the two rectangles
another Mtk.Rectangle
Similar to Rectangle.overlap but ignores the horizontal location.
Whether the two rectangles overlap vertically
Staticfrom_A rectangle
The rounding strategy
StaticnewStaticnew_
X coordinate of the point