package js.html
extended by DOMRect
Available on js
The DOMRectReadOnly interface specifies the standard properties used by DOMRect to define a rectangle.
Documentation DOMRectReadOnly by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(x:Float = 0.0, y:Float = 0.0, width:Float = 0.0, height:Float = 0.0)Throws:
null |
DOMError |
|---|
read onlybottom:FloatReturns the bottom coordinate value of the DOMRect (usually the same as y + height).
read onlyheight:FloatThe height of the DOMRect.
read onlyleft:FloatReturns the left coordinate value of the DOMRect (usually the same as x).
read onlyright:FloatReturns the right coordinate value of the DOMRect (usually the same as x + width).
read onlytop:FloatReturns the top coordinate value of the DOMRect (usually the same as y.)
read onlywidth:FloatThe width of the DOMRect.
read onlyx:FloatThe x coordinate of the DOMRect's origin.
read onlyy:FloatThe y coordinate of the DOMRect's origin.
toJSON():Dynamic
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMRectReadOnly.html