Valid types representing rectangles.
Test whether the rectangle inner is fully contained inside the rectangle
outer.
Test if a rectangle lies fully within a given Y coordinate bound.
Decide how much of a rectangle lies within a given Y coordinate bound. Returns a value between 0 and 1.
Test whether the point p lies inside the rectangle rect.
Return a DOMRect that is aligned inside outer while preserving the
aspect ratio of inner.
Test whether the rectangles rectA and rectB intersect.
Test if a rectangle intersects with a given Y coordinate.
Test if a rectangle intersects with a given Y coordinate bound.
Round a value to the window's device pixel ratio.
Geometry tools.