public interface ClientRect
element.getBoundingClientRect
.nsISupports
Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)
Modifier and Type | Method and Description |
---|---|
float |
getBottom()
Y-coordinate, relative to the viewport origin, of the bottom of the rectangle box.
|
float |
getHeight()
Height of the rectangle box (This is identical to
bottom minus top ). |
float |
getLeft()
X-coordinate, relative to the viewport origin, of the left of the rectangle box.
|
float |
getRight()
X-coordinate, relative to the viewport origin, of the right of the rectangle box.
|
float |
getTop()
Y-coordinate, relative to the viewport origin, of the top of the rectangle box.
|
float |
getWidth()
Width of the rectangle box (This is identical to
right minus left ). |
float getBottom()
float getHeight()
bottom
minus top
). Read only.float getLeft()
float getRight()
float getTop()
float getWidth()
right
minus left
). Read only.
Requires Gecko 1.9.1Copyright © 2016. All rights reserved.