DOMRectReadOnly

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部