W3cubDocs

/Haxe JavaScript

DOMRectReadOnly

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:

Variables

read only bottom:Float

Returns the bottom coordinate value of the DOMRect (usually the same as y + height).

read only height:Float

The height of the DOMRect.

read only left:Float

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).

read only top:Float

Returns the top coordinate value of the DOMRect (usually the same as y.)

read only width:Float

The width of the DOMRect.

read only x:Float

The x coordinate of the DOMRect's origin.

read only y:Float

The y coordinate of the DOMRect's origin.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/DOMRectReadOnly.html