Haxe API Documentation
Back |
Indexextern class js.html.ClientRect
Available in js
Represents a rectangular box. The type of box is specified by the method that returns such an object. It is returned by functions like element.getBoundingClientRect
.1.0
11.0
Introduced
Gecko 1.9
Inherits from:
nsISupports
Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)
Documentation for this class was provided by
MDN.
- var bottom(default,null) : Float
- Y-coordinate, relative to the viewport origin, of the bottom of the rectangle box. Read only.
- var height(default,null) : Float
- Height of the rectangle box (This is identical to
bottom
minus top
). Read only. - var left(default,null) : Float
- X-coordinate, relative to the viewport origin, of the left of the rectangle box. Read only.
- var right(default,null) : Float
- X-coordinate, relative to the viewport origin, of the right of the rectangle box. Read only.
- var top(default,null) : Float
- Y-coordinate, relative to the viewport origin, of the top of the rectangle box. Read only.
- var width(default,null) : Float
- Width of the rectangle box (This is identical to
right
minus left
). Read only.
Requires Gecko 1.9.1
Back |
Index