public class SVGRect extends SimpleScriptable
SVGRect
.Constructor and Description |
---|
SVGRect()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets height.
|
double |
getWidth()
Gets width.
|
double |
getX()
Gets x.
|
double |
getY()
Gets y.
|
void |
setHeigth(double height)
Sets height.
|
void |
setWidth(double width)
Sets width.
|
void |
setX(double x)
Sets x.
|
void |
setY(double y)
Sets y.
|
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, setClassName, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public double getX()
public void setX(double x)
x
- the xpublic double getY()
public void setY(double y)
y
- the ypublic double getWidth()
public void setWidth(double width)
width
- the widthpublic double getHeight()
public void setHeigth(double height)
height
- the heightCopyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.