A DOMRect
represents a rectangle.
Documentation DOMRect by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Constructor
@:value({ height : 0.0, width : 0.0, y : 0.0, x : 0.0 })new(x:Float = 0.0, y:Float = 0.0, width:Float = 0.0, height:Float = 0.0)
Inherited Variables
Returns the bottom coordinate value of the DOMRect
(usually the same as y + height).
Returns the left coordinate value of the DOMRect
(usually the same as x
).
Returns the right coordinate value of the DOMRect
(usually the same as x + width
).
Returns the top coordinate value of the DOMRect
(usually the same as y
.)
The x coordinate of the DOMRect
's origin.
The y coordinate of the DOMRect
's origin.
Inherited Methods