30 April 2002

ECMAScript Language Binding for SVG

This document contains the complete ECMAScript language binding for the SVG Document Object Model definitions.

Object SVGElement

SVGElement has all the properties and methods of dom::Element as well as the properties and methods defined below.

The SVGElement object has the following properties:
id
This property is of type DOMString.
xmlbase
This property is of type DOMString.
ownerSVGElement
This property is of type SVGSVGElement.
viewportElement
This property is of type SVGElement.
Object SVGAnimatedBoolean
The SVGAnimatedBoolean object has the following properties:
baseVal
This property is of type boolean.
animVal
This property is of type boolean.
Object SVGAnimatedString
The SVGAnimatedString object has the following properties:
baseVal
This property is of type DOMString.
animVal
This property is of type DOMString.
Object SVGStringList
The SVGStringList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGStringList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) DOMString. The newItem parameter is of type DOMString.
getItem(index)
This method returns a(n) DOMString. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) DOMString. The newItem parameter is of type DOMString. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) DOMString. The newItem parameter is of type DOMString. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) DOMString. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) DOMString. The newItem parameter is of type DOMString.
Object SVGAnimatedEnumeration
The SVGAnimatedEnumeration object has the following properties:
baseVal
This property is of type unsigned short.
animVal
This property is of type unsigned short.
Object SVGAnimatedInteger
The SVGAnimatedInteger object has the following properties:
baseVal
This property is of type long.
animVal
This property is of type long.
Object SVGNumber
The SVGNumber object has the following properties:
value
This property is of type float.
Object SVGAnimatedNumber
The SVGAnimatedNumber object has the following properties:
baseVal
This property is of type float.
animVal
This property is of type float.
Object SVGNumberList
The SVGNumberList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGNumberList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber.
getItem(index)
This method returns a(n) SVGNumber. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) SVGNumber. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber.
Object SVGAnimatedNumberList
The SVGAnimatedNumberList object has the following properties:
baseVal
This property is of type SVGNumberList.
animVal
This property is of type SVGNumberList.
Object SVGLength
The SVGLength class has the following constants:
SVGLength.SVG_LENGTHTYPE_UNKNOWN
This constant is of type short and has a value of 0.
SVGLength.SVG_LENGTHTYPE_NUMBER
This constant is of type short and has a value of 1.
SVGLength.SVG_LENGTHTYPE_PERCENTAGE
This constant is of type short and has a value of 2.
SVGLength.SVG_LENGTHTYPE_EMS
This constant is of type short and has a value of 3.
SVGLength.SVG_LENGTHTYPE_EXS
This constant is of type short and has a value of 4.
SVGLength.SVG_LENGTHTYPE_PX
This constant is of type short and has a value of 5.
SVGLength.SVG_LENGTHTYPE_CM
This constant is of type short and has a value of 6.
SVGLength.SVG_LENGTHTYPE_MM
This constant is of type short and has a value of 7.
SVGLength.SVG_LENGTHTYPE_IN
This constant is of type short and has a value of 8.
SVGLength.SVG_LENGTHTYPE_PT
This constant is of type short and has a value of 9.
SVGLength.SVG_LENGTHTYPE_PC
This constant is of type short and has a value of 10.
The SVGLength object has the following properties:
unitType
This property is of type unsigned short.
value
This property is of type float.
valueInSpecifiedUnits
This property is of type float.
valueAsString
This property is of type DOMString.
The SVGLength object has the following methods:
newValueSpecifiedUnits(unitType,valueInSpecifiedUnits)
This method returns a(n) void. The unitType parameter is of type unsigned short. The valueInSpecifiedUnits parameter is of type float.
convertToSpecifiedUnits(unitType)
This method returns a(n) void. The unitType parameter is of type unsigned short.
Object SVGAnimatedLength
The SVGAnimatedLength object has the following properties:
baseVal
This property is of type SVGLength.
animVal
This property is of type SVGLength.
Object SVGLengthList
The SVGLengthList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGLengthList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength.
getItem(index)
This method returns a(n) SVGLength. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) SVGLength. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength.
Object SVGAnimatedLengthList
The SVGAnimatedLengthList object has the following properties:
baseVal
This property is of type SVGLengthList.
animVal
This property is of type SVGLengthList.
Object SVGAngle
The SVGAngle class has the following constants:
SVGAngle.SVG_ANGLETYPE_UNKNOWN
This constant is of type short and has a value of 0.
SVGAngle.SVG_ANGLETYPE_UNSPECIFIED
This constant is of type short and has a value of 1.
SVGAngle.SVG_ANGLETYPE_DEG
This constant is of type short and has a value of 2.
SVGAngle.SVG_ANGLETYPE_RAD
This constant is of type short and has a value of 3.
SVGAngle.SVG_ANGLETYPE_GRAD
This constant is of type short and has a value of 4.
The SVGAngle object has the following properties:
unitType
This property is of type unsigned short.
value
This property is of type float.
valueInSpecifiedUnits
This property is of type float.
valueAsString
This property is of type DOMString.
The SVGAngle object has the following methods:
newValueSpecifiedUnits(unitType,valueInSpecifiedUnits)
This method returns a(n) void. The unitType parameter is of type unsigned short. The valueInSpecifiedUnits parameter is of type float.
convertToSpecifiedUnits(unitType)
This method returns a(n) void. The unitType parameter is of type unsigned short.
Object SVGAnimatedAngle
The SVGAnimatedAngle object has the following properties:
baseVal
This property is of type SVGAngle.
animVal
This property is of type SVGAngle.
Object SVGColor

SVGColor has all the properties and methods of css::CSSValue as well as the properties and methods defined below.

The SVGColor class has the following constants:
SVGColor.SVG_COLORTYPE_UNKNOWN
This constant is of type short and has a value of 0.
SVGColor.SVG_COLORTYPE_RGBCOLOR
This constant is of type short and has a value of 1.
SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
This constant is of type short and has a value of 2.
SVGColor.SVG_COLORTYPE_CURRENTCOLOR
This constant is of type short and has a value of 3.
The SVGColor object has the following properties:
colorType
This property is of type unsigned short.
rgbColor
This property is of type css::RGBColor.
iccColor
This property is of type SVGICCColor.
The SVGColor object has the following methods:
setRGBColor(rgbColor)
This method returns a(n) void. The rgbColor parameter is of type DOMString.
setRGBColorICCColor(rgbColor,iccColor)
This method returns a(n) void. The rgbColor parameter is of type DOMString. The iccColor parameter is of type DOMString.
setColor(colorType,rgbColor,iccColor)
This method returns a(n) void. The colorType parameter is of type unsigned short. The rgbColor parameter is of type DOMString. The iccColor parameter is of type DOMString.
Object SVGICCColor
The SVGICCColor object has the following properties:
colorProfile
This property is of type DOMString.
colors
This property is of type SVGNumberList.
Object SVGRect
The SVGRect object has the following properties:
x
This property is of type float.
y
This property is of type float.
width
This property is of type float.
height
This property is of type float.
Object SVGAnimatedRect
The SVGAnimatedRect object has the following properties:
baseVal
This property is of type SVGRect.
animVal
This property is of type SVGRect.
Object SVGStylable
The SVGStylable object has the following properties:
className
This property is of type SVGAnimatedString.
style
This property is of type css::CSSStyleDeclaration.
The SVGStylable object has the following methods:
getPresentationAttribute(name)
This method returns a(n) css::CSSValue. The name parameter is of type DOMString.
Object SVGLocatable
The SVGLocatable object has the following properties:
nearestViewportElement
This property is of type SVGElement.
farthestViewportElement
This property is of type SVGElement.
The SVGLocatable object has the following methods:
getBBox()
This method returns a(n) SVGRect.
getCTM()
This method returns a(n) SVGMatrix.
getScreenCTM()
This method returns a(n) SVGMatrix.
getTransformToElement(element)
This method returns a(n) SVGMatrix. The element parameter is of type SVGElement.
Object SVGTransformable

SVGTransformable has all the properties and methods of SVGLocatable as well as the properties and methods defined below.

The SVGTransformable object has the following properties:
transform
This property is of type SVGAnimatedTransformList.
Object SVGTests
The SVGTests object has the following properties:
requiredFeatures
This property is of type SVGStringList.
requiredExtensions
This property is of type SVGStringList.
systemLanguage
This property is of type SVGStringList.
The SVGTests object has the following methods:
hasExtension(extension)
This method returns a(n) boolean. The extension parameter is of type DOMString.
Object SVGLangSpace
The SVGLangSpace object has the following properties:
xmllang
This property is of type DOMString.
xmlspace
This property is of type DOMString.
Object SVGExternalResourcesRequired
The SVGExternalResourcesRequired object has the following properties:
externalResourcesRequired
This property is of type SVGAnimatedBoolean.
Object SVGFitToViewBox
The SVGFitToViewBox object has the following properties:
viewBox
This property is of type SVGAnimatedRect.
preserveAspectRatio
This property is of type SVGAnimatedPreserveAspectRatio.
Object SVGZoomAndPan
The SVGZoomAndPan class has the following constants:
SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN
This constant is of type short and has a value of 0.
SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE
This constant is of type short and has a value of 1.
SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY
This constant is of type short and has a value of 2.
The SVGZoomAndPan object has the following properties:
zoomAndPan
This property is of type unsigned short.
Object SVGViewSpec

SVGViewSpec has all the properties and methods of SVGZoomAndPan, SVGFitToViewBox as well as the properties and methods defined below.

The SVGViewSpec object has the following properties:
transform
This property is of type SVGTransformList.
viewTarget
This property is of type SVGElement.
viewBoxString
This property is of type DOMString.
preserveAspectRatioString
This property is of type DOMString.
transformString
This property is of type DOMString.
viewTargetString
This property is of type DOMString.
Object SVGURIReference
The SVGURIReference object has the following properties:
href
This property is of type SVGAnimatedString.
Object SVGCSSRule

SVGCSSRule has all the properties and methods of css::CSSRule.

The SVGCSSRule class has the following constants:
SVGCSSRule.COLOR_PROFILE_RULE
This constant is of type short and has a value of 7.
Object SVGDocument

SVGDocument has all the properties and methods of dom::Document, events::DocumentEvent as well as the properties and methods defined below.

The SVGDocument object has the following properties:
title
This property is of type DOMString.
referrer
This property is of type DOMString.
domain
This property is of type DOMString.
URL
This property is of type DOMString.
rootElement
This property is of type SVGSVGElement.
Object SVGSVGElement

SVGSVGElement has all the properties and methods of SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan, events::EventTarget, events::DocumentEvent, css::ViewCSS, css::DocumentCSS as well as the properties and methods defined below.

The SVGSVGElement object has the following properties:
x
This property is of type SVGAnimatedLength.
y
This property is of type SVGAnimatedLength.
width
This property is of type SVGAnimatedLength.
height
This property is of type SVGAnimatedLength.
contentScriptType
This property is of type DOMString.
contentStyleType
This property is of type DOMString.
viewport
This property is of type SVGRect.
pixelUnitToMillimeterX
This property is of type float.
pixelUnitToMillimeterY
This property is of type float.
screenPixelToMillimeterX
This property is of type float.
screenPixelToMillimeterY
This property is of type float.
useCurrentView
This property is of type boolean.
currentView
This property is of type SVGViewSpec.
currentScale
This property is of type float.
currentTranslate
This property is of type SVGPoint.
The SVGSVGElement object has the following methods:
suspendRedraw(max_wait_milliseconds)
This method returns a(n) unsigned long. The max_wait_milliseconds parameter is of type unsigned long.
unsuspendRedraw(suspend_handle_id)
This method returns a(n) void. The suspend_handle_id parameter is of type unsigned long.
unsuspendRedrawAll()
This method returns a(n) void.
forceRedraw()
This method returns a(n) void.
pauseAnimations()
This method returns a(n) void.
unpauseAnimations()
This method returns a(n) void.
animationsPaused()
This method returns a(n) boolean.
getCurrentTime()
This method returns a(n) float.
setCurrentTime(seconds)
This method returns a(n) void. The seconds parameter is of type float.
getIntersectionList(rect,referenceElement)
This method returns a(n) dom::NodeList. The rect parameter is of type SVGRect. The referenceElement parameter is of type SVGElement.
getEnclosureList(rect,referenceElement)
This method returns a(n) dom::NodeList. The rect parameter is of type SVGRect. The referenceElement parameter is of type SVGElement.
checkIntersection(element,rect)
This method returns a(n) boolean. The element parameter is of type SVGElement. The rect parameter is of type SVGRect.
checkEnclosure(element,rect)
This method returns a(n) boolean. The element parameter is of type SVGElement. The rect parameter is of type SVGRect.
deselectAll()
This method returns a(n) void.
createSVGNumber()
This method returns a(n) SVGNumber.
createSVGLength()
This method returns a(n) SVGLength.
createSVGAngle()
This method returns a(n) SVGAngle.
createSVGPoint()
This method returns a(n) SVGPoint.
createSVGMatrix()
This method returns a(n) SVGMatrix.
createSVGRect()
This method returns a(n) SVGRect.
createSVGTransform()
This method returns a(n) SVGTransform.
createSVGTransformFromMatrix(matrix)
This method returns a(n) SVGTransform. The matrix parameter is of type SVGMatrix.
getElementById(elementId)
This method returns a(n) dom::Element. The elementId parameter is of type DOMString.
Object SVGGElement

SVGGElement has all the properties and methods of SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, events::EventTarget.

Object SVGDefsElement

SVGDefsElement has all the properties and methods of SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, events::EventTarget.

Object SVGDescElement

SVGDescElement has all the properties and methods of SVGElement, SVGLangSpace, SVGStylable.

Object SVGTitleElement

SVGTitleElement has all the properties and methods of SVGElement, SVGLangSpace, SVGStylable.

Object SVGSymbolElement

SVGSymbolElement has all the properties and methods of SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox, events::EventTarget.

Object SVGUseElement

SVGUseElement has all the properties and methods of SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, events::EventTarget as well as the properties and methods defined below.

The SVGUseElement object has the following properties:
x
This property is of type SVGAnimatedLength.
y
This property is of type SVGAnimatedLength.
width
This property is of type SVGAnimatedLength.
height
This property is of type SVGAnimatedLength.
instanceRoot
This property is of type SVGElementInstance.
animatedInstanceRoot
This property is of type SVGElementInstance.
Object SVGElementInstance

SVGElementInstance has all the properties and methods of events::EventTarget as well as the properties and methods defined below.

The SVGElementInstance object has the following properties:
correspondingElement
This property is of type SVGElement.
correspondingUseElement
This property is of type SVGUseElement.
parentNode
This property is of type SVGElementInstance.
childNodes
This property is of type SVGElementInstanceList.
firstChild
This property is of type SVGElementInstance.
lastChild
This property is of type SVGElementInstance.
previousSibling
This property is of type SVGElementInstance.
nextSibling
This property is of type SVGElementInstance.
Object SVGElementInstanceList
The SVGElementInstanceList object has the following properties:
length
This property is of type unsigned long.
The SVGElementInstanceList object has the following methods:
item(index)
This method returns a(n) SVGElementInstance. The index parameter is of type unsigned long.
Object SVGImageElement

SVGImageElement has all the properties and methods of SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, events::EventTarget as well as the properties and methods defined below.

The SVGImageElement object has the following properties:
x
This property is of type SVGAnimatedLength.
y
This property is of type SVGAnimatedLength.
width
This property is of type SVGAnimatedLength.
height
This property is of type SVGAnimatedLength.
preserveAspectRatio
This property is of type SVGAnimatedPreserveAspectRatio.
Object SVGSwitchElement

SVGSwitchElement has all the properties and methods of SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, events::EventTarget.

Object GetSVGDocument
The GetSVGDocument object has the following methods:
getSVGDocument()
This method returns a(n) SVGDocument.
Object SVGStyleElement

SVGStyleElement has all the properties and methods of SVGElement as well as the properties and methods defined below.

The SVGStyleElement object has the following properties:
xmlspace
This property is of type DOMString.
type
This property is of type DOMString.
media
This property is of type DOMString.
title
This property is of type DOMString.
Object SVGPoint
The SVGPoint object has the following properties:
x
This property is of type float.
y
This property is of type float.
The SVGPoint object has the following methods:
matrixTransform(matrix)
This method returns a(n) SVGPoint. The matrix parameter is of type SVGMatrix.
Object SVGPointList
The SVGPointList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGPointList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint.
getItem(index)
This method returns a(n) SVGPoint. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) SVGPoint. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint.
Object SVGMatrix
The SVGMatrix object has the following properties:
a
This property is of type float.
b
This property is of type float.
c
This property is of type float.
d
This property is of type float.
e
This property is of type float.
f
This property is of type float.
The SVGMatrix object has the following methods:
multiply(secondMatrix)
This method returns a(n) SVGMatrix. The secondMatrix parameter is of type SVGMatrix.
inverse()
This method returns a(n) SVGMatrix.
translate(x,y)
This method returns a(n) SVGMatrix. The x parameter is of type float. The y parameter is of type float.
scale(scaleFactor)
This method returns a(n) SVGMatrix. The scaleFactor parameter is of type float.
scaleNonUniform(scaleFactorX,scaleFactorY)
This method returns a(n) SVGMatrix. The scaleFactorX parameter is of type float. The scaleFactorY parameter is of type float.
rotate(angle)
This method returns a(n) SVGMatrix. The angle parameter is of type float.
rotateFromVector(x,y)
This method returns a(n) SVGMatrix. The x parameter is of type float. The y parameter is of type float.
flipX()
This method returns a(n) SVGMatrix.
flipY()
This method returns a(n) SVGMatrix.
skewX(angle)
This method returns a(n) SVGMatrix. The angle parameter is of type float.
skewY(angle)
This method returns a(n) SVGMatrix. The angle parameter is of type float.
Object SVGTransform
The SVGTransform class has the following constants:
SVGTransform.SVG_TRANSFORM_UNKNOWN
This constant is of type short and has a value of 0.
SVGTransform.SVG_TRANSFORM_MATRIX
This constant is of type short and has a value of 1.
SVGTransform.SVG_TRANSFORM_TRANSLATE
This constant is of type short and has a value of 2.
SVGTransform.SVG_TRANSFORM_SCALE
This constant is of type short and has a value of 3.
SVGTransform.SVG_TRANSFORM_ROTATE
This constant is of type short and has a value of 4.
SVGTransform.SVG_TRANSFORM_SKEWX
This constant is of type short and has a value of 5.
SVGTransform.SVG_TRANSFORM_SKEWY
This constant is of type short and has a value of 6.
The SVGTransform object has the following properties:
type
This property is of type unsigned short.
matrix
This property is of type SVGMatrix.
angle
This property is of type float.
The SVGTransform object has the following methods:
setMatrix(matrix)
This method returns a(n) void. The matrix parameter is of type SVGMatrix.
setTranslate(tx,ty)
This method returns a(n) void. The tx parameter is of type float. The ty parameter is of type float.
setScale(sx,sy)
This method returns a(n) void. The sx parameter is of type float. The sy parameter is of type float.
setRotate(angle,cx,cy)
This method returns a(n) void. The angle parameter is of type float. The cx parameter is of type float. The cy parameter is of type float.
setSkewX(angle)
This method returns a(n) void. The angle parameter is of type float.
setSkewY(angle)
This method returns a(n) void. The angle parameter is of type float.
Object SVGTransformList
The SVGTransformList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGTransformList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform.
getItem(index)
This method returns a(n) SVGTransform. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) SVGTransform. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform.
createSVGTransformFromMatrix(matrix)
This method returns a(n) SVGTransform. The matrix parameter is of type SVGMatrix.
consolidate()
This method returns a(n) SVGTransform.
Object SVGAnimatedTransformList
The SVGAnimatedTransformList object has the following properties:
baseVal
This property is of type SVGTransformList.
animVal
This property is of type SVGTransformList.
Object SVGPreserveAspectRatio
The SVGPreserveAspectRatio class has the following constants:
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN
This constant is of type short and has a value of 0.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE
This constant is of type short and has a value of 1.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN
This constant is of type short and has a value of 2.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN
This constant is of type short and has a value of 3.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN
This constant is of type short and has a value of 4.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID
This constant is of type short and has a value of 5.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID
This constant is of type short and has a value of 6.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID
This constant is of type short and has a value of 7.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX
This constant is of type short and has a value of 8.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX
This constant is of type short and has a value of 9.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX
This constant is of type short and has a value of 10.
SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN
This constant is of type short and has a value of 0.
SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET
This constant is of type short and has a value of 1.
SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE
This constant is of type short and has a value of 2.
The SVGPreserveAspectRatio object has the following properties:
align
This property is of type unsigned short.
meetOrSlice
This property is of type unsigned short.
Object SVGAnimatedPreserveAspectRatio
The SVGAnimatedPreserveAspectRatio object has the following properties:
baseVal
This property is of type SVGPreserveAspectRatio.
animVal
This property is of type SVGPreserveAspectRatio.
Object SVGPathSeg
The SVGPathSeg class has the following constants:
SVGPathSeg.PATHSEG_UNKNOWN
This constant is of type short and has a value of 0.
SVGPathSeg.PATHSEG_CLOSEPATH
This constant is of type short and has a value of 1.
SVGPathSeg.PATHSEG_MOVETO_ABS
This constant is of type short and has a value of 2.
SVGPathSeg.PATHSEG_MOVETO_REL
This constant is of type short and has a value of 3.
SVGPathSeg.PATHSEG_LINETO_ABS
This constant is of type short and has a value of 4.
SVGPathSeg.PATHSEG_LINETO_REL
This constant is of type short and has a value of 5.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS
This constant is of type short and has a value of 6.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL
This constant is of type short and has a value of 7.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS
This constant is of type short and has a value of 8.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL
This constant is of type short and has a value of 9.
SVGPathSeg.PATHSEG_ARC_ABS
This constant is of type short and has a value of 10.
SVGPathSeg.PATHSEG_ARC_REL
This constant is of type short and has a value of 11.
SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS
This constant is of type short and has a value of 12.
SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL
This constant is of type short and has a value of 13.
SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS
This constant is of type short and has a value of 14.
SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL
This constant is of type short and has a value of 15.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
This constant is of type short and has a value of 16.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL
This constant is of type short and has a value of 17.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
This constant is of type short and has a value of 18.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
This constant is of type short and has a value of 19.
The SVGPathSeg object has the following properties:
pathSegType
This property is of type unsigned short.
pathSegTypeAsLetter
This property is of type DOMString.
Object SVGPathSegClosePath

SVGPathSegClosePath has all the properties and methods of SVGPathSeg.

Object SVGPathSegMovetoAbs

SVGPathSegMovetoAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegMovetoAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegMovetoRel

SVGPathSegMovetoRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegMovetoRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegLinetoAbs

SVGPathSegLinetoAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegLinetoRel

SVGPathSegLinetoRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegCurvetoCubicAbs

SVGPathSegCurvetoCubicAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoCubicAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
x1
This property is of type float.
y1
This property is of type float.
x2
This property is of type float.
y2
This property is of type float.
Object SVGPathSegCurvetoCubicRel

SVGPathSegCurvetoCubicRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoCubicRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
x1
This property is of type float.
y1
This property is of type float.
x2
This property is of type float.
y2
This property is of type float.
Object SVGPathSegCurvetoQuadraticAbs

SVGPathSegCurvetoQuadraticAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoQuadraticAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
x1
This property is of type float.
y1
This property is of type float.
Object SVGPathSegCurvetoQuadraticRel

SVGPathSegCurvetoQuadraticRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoQuadraticRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
x1
This property is of type float.
y1
This property is of type float.
Object SVGPathSegArcAbs

SVGPathSegArcAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegArcAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
r1
This property is of type float.
r2
This property is of type float.
angle
This property is of type float.
largeArcFlag
This property is of type boolean.
sweepFlag
This property is of type boolean.
Object SVGPathSegArcRel

SVGPathSegArcRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegArcRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
r1
This property is of type float.
r2
This property is of type float.
angle
This property is of type float.
largeArcFlag
This property is of type boolean.
sweepFlag
This property is of type boolean.
Object SVGPathSegLinetoHorizontalAbs

SVGPathSegLinetoHorizontalAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoHorizontalAbs object has the following properties:
x
This property is of type float.
Object SVGPathSegLinetoHorizontalRel

SVGPathSegLinetoHorizontalRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoHorizontalRel object has the following properties:
x
This property is of type float.
Object SVGPathSegLinetoVerticalAbs

SVGPathSegLinetoVerticalAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoVerticalAbs object has the following properties:
y
This property is of type float.
Object SVGPathSegLinetoVerticalRel

SVGPathSegLinetoVerticalRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegLinetoVerticalRel object has the following properties:
y
This property is of type float.
Object SVGPathSegCurvetoCubicSmoothAbs

SVGPathSegCurvetoCubicSmoothAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoCubicSmoothAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
x2
This property is of type float.
y2
This property is of type float.
Object SVGPathSegCurvetoCubicSmoothRel

SVGPathSegCurvetoCubicSmoothRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoCubicSmoothRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
x2
This property is of type float.
y2
This property is of type float.
Object SVGPathSegCurvetoQuadraticSmoothAbs

SVGPathSegCurvetoQuadraticSmoothAbs has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoQuadraticSmoothAbs object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegCurvetoQuadraticSmoothRel

SVGPathSegCurvetoQuadraticSmoothRel has all the properties and methods of SVGPathSeg as well as the properties and methods defined below.

The SVGPathSegCurvetoQuadraticSmoothRel object has the following properties:
x
This property is of type float.
y
This property is of type float.
Object SVGPathSegList
The SVGPathSegList object has the following properties:
numberOfItems
This property is of type unsigned long.
The SVGPathSegList object has the following methods:
clear()
This method returns a(n) void.
initialize(newItem)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg.
getItem(index)
This method returns a(n) SVGPathSeg. The index parameter is of type unsigned long.
insertItemBefore(newItem,index)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg. The index parameter is of type unsigned long.
replaceItem(newItem,index)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg. The index parameter is of type unsigned long.
removeItem(index)
This method returns a(n) SVGPathSeg. The index parameter is of type unsigned long.
appendItem(newItem)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg.
Object SVGAnimatedPathData
The SVGAnimatedPathData object has the following properties:
pathSegList
This property is of type SVGPathSegList.
normalizedPathSegList
This property is of type SVGPathSegList.