A DOMRect represents a rectangle.
DOMRect
Documentation DOMRect by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
https://developer.mozilla.org/en-US/docs/Web/API/DOMRect
new (x:Float, y:Float, width:Float, height:Float)
new ()
Throws:
null
DOMError
read onlybottom:Float
Returns the bottom coordinate value of the DOMRect (usually the same as y + height).
read onlyheight:Float
The height of the DOMRect.
read onlyleft:Float
Returns the left coordinate value of the DOMRect (usually the same as x).
x
read onlyright:Float
Returns the right coordinate value of the DOMRect (usually the same as x + width).
x + width
read onlytop:Float
Returns the top coordinate value of the DOMRect (usually the same as y.)
y
read onlywidth:Float
The width of the DOMRect.
read onlyx:Float
The x coordinate of the DOMRect's origin.
read onlyy:Float
The y coordinate of the DOMRect's origin.