public class JsClientRect extends JsElementalMixinBase implements ClientRect
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsClientRect() |
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 ). |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final float getBottom()
ClientRect
getBottom
in interface ClientRect
public final float getHeight()
ClientRect
bottom
minus top
). Read only.getHeight
in interface ClientRect
public final float getLeft()
ClientRect
getLeft
in interface ClientRect
public final float getRight()
ClientRect
getRight
in interface ClientRect
public final float getTop()
ClientRect
getTop
in interface ClientRect
public final float getWidth()
ClientRect
right
minus left
). Read only.
Requires Gecko 1.9.1getWidth
in interface ClientRect
Copyright © 2018. All rights reserved.