W3cubDocs

/Haxe JavaScript

DOMRect

package js.html

extends DOMRectReadOnly

Available on js

A DOMRect represents a rectangle.

Documentation DOMRect by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(x:Float = 0.0, y:Float = 0.0, width:Float = 0.0, height:Float = 0.0)

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMRect.html