DOMRect

DOMRectReadOnlyjs.html.DOMRect (extern class)

A DOMRect represents a rectangle.

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

See:

Instance Members

new(?x: Float = 0.0, ?y: Float = 0.0, ?width: Float = 0.0, ?height: Float = 0.0): Void
Name Type Default
x Float 0.0
y Float 0.0
width Float 0.0
height Float 0.0