SVGLength in SVG 1.1

(no overview available)

Instance Properties

name type description
unitType Number (read only)
value Number
valueAsString String
valueInSpecifiedUnits Number

Instance Methods

name returns description
convertToSpecifiedUnits(unitType) (none)
newValueSpecifiedUnits(unitType,valueInSpecifiedUnits) (none)

Constants

name object value description
SVG_LENGTHTYPE_UNKNOWN SVGLength 0
SVG_LENGTHTYPE_NUMBER SVGLength 1
SVG_LENGTHTYPE_PERCENTAGE SVGLength 2
SVG_LENGTHTYPE_EMS SVGLength 3
SVG_LENGTHTYPE_EXS SVGLength 4
SVG_LENGTHTYPE_PX SVGLength 5
SVG_LENGTHTYPE_CM SVGLength 6
SVG_LENGTHTYPE_MM SVGLength 7
SVG_LENGTHTYPE_IN SVGLength 8
SVG_LENGTHTYPE_PT SVGLength 9
SVG_LENGTHTYPE_PC SVGLength 10

Properties that are an SVGLength

name object description
animVal SVGAnimatedLength (read only)
baseVal SVGAnimatedLength (read only)

Methods that return an SVGLength

name of object description
appendItem(newItem) SVGLengthList
createSVGLength() SVGSVGElement
getItem(index) SVGLengthList
initialize(newItem) SVGLengthList
insertItemBefore(newItem,index) SVGLengthList
removeItem(index) SVGLengthList
replaceItem(newItem,index) SVGLengthList

Arguments that are an SVGLength

name in method of object description
newItem initialize(newItem) SVGLengthList
newItem insertItemBefore(newItem,index) SVGLengthList
newItem replaceItem(newItem,index) SVGLengthList
newItem appendItem(newItem) SVGLengthList