14 January 2003

ECMAScript Language Binding for SVG

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

Prototype Object SVGException
The SVGException class has the following constants:
SVGException.SVG_WRONG_TYPE_ERR
This constant is of type Number and its value is 1.
SVGException.SVG_INVALID_VALUE_ERR
This constant is of type Number and its value is 2.
SVGException.SVG_MATRIX_NOT_INVERTABLE
This constant is of type Number and its value is 3.
Object SVGException
The SVGException object has the following properties:
code
This property is of type Number.
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 String.
xmlbase
This property is of type String.
ownerSVGElement
This read-only property is of type SVGSVGElement.
viewportElement
This read-only property is of type SVGElement.
Object SVGAnimatedBoolean
The SVGAnimatedBoolean object has the following properties:
baseVal
This property is of type Boolean.
animVal
This read-only property is of type Boolean.
Object SVGAnimatedString
The SVGAnimatedString object has the following properties:
baseVal
This property is of type String.
animVal
This read-only property is of type String.
Object SVGStringList
The SVGStringList object has the following properties:
numberOfItems
This read-only property is of type Number.
The SVGStringList object has the following methods:
clear()
This method has no return value.
initialize(newItem)
This method returns a(n) String. The newItem parameter is of type String.
getItem(index)
This method returns a(n) String. The index parameter is of type Number.
insertItemBefore(newItem,index)
This method returns a(n) String. The newItem parameter is of type String. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) String. The newItem parameter is of type String. The index parameter is of type Number.
removeItem(index)
This method returns a(n) String. The index parameter is of type Number.
appendItem(newItem)
This method returns a(n) String. The newItem parameter is of type String.
Object SVGAnimatedEnumeration
The SVGAnimatedEnumeration object has the following properties:
baseVal
This property is of type Number.
animVal
This read-only property is of type Number.
Object SVGAnimatedInteger
The SVGAnimatedInteger object has the following properties:
baseVal
This property is of type Number.
animVal
This read-only property is of type Number.
Object SVGNumber
The SVGNumber object has the following properties:
value
This property is of type Number.
Object SVGAnimatedNumber
The SVGAnimatedNumber object has the following properties:
baseVal
This property is of type Number.
animVal
This read-only property is of type Number.
Object SVGNumberList
The SVGNumberList object has the following properties:
numberOfItems
This read-only property is of type Number.
The SVGNumberList object has the following methods:
clear()
This method has no return value.
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 Number.
insertItemBefore(newItem,index)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) SVGNumber. The newItem parameter is of type SVGNumber. The index parameter is of type Number.
removeItem(index)
This method returns a(n) SVGNumber. The index parameter is of type Number.
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 read-only property is of type SVGNumberList.
animVal
This read-only property is of type SVGNumberList.
Prototype Object SVGLength
The SVGLength class has the following constants:
SVGLength.SVG_LENGTHTYPE_UNKNOWN
This constant is of type Number and has a value of 0.
SVGLength.SVG_LENGTHTYPE_NUMBER
This constant is of type Number and has a value of 1.
SVGLength.SVG_LENGTHTYPE_PERCENTAGE
This constant is of type Number and has a value of 2.
SVGLength.SVG_LENGTHTYPE_EMS
This constant is of type Number and has a value of 3.
SVGLength.SVG_LENGTHTYPE_EXS
This constant is of type Number and has a value of 4.
SVGLength.SVG_LENGTHTYPE_PX
This constant is of type Number and has a value of 5.
SVGLength.SVG_LENGTHTYPE_CM
This constant is of type Number and has a value of 6.
SVGLength.SVG_LENGTHTYPE_MM
This constant is of type Number and has a value of 7.
SVGLength.SVG_LENGTHTYPE_IN
This constant is of type Number and has a value of 8.
SVGLength.SVG_LENGTHTYPE_PT
This constant is of type Number and has a value of 9.
SVGLength.SVG_LENGTHTYPE_PC
This constant is of type Number and has a value of 10.
Object SVGLength
The SVGLength object has the following properties:
unitType
This read-only property is of type Number.
value
This property is of type Number.
valueInSpecifiedUnits
This property is of type Number.
valueAsString
This property is of type String.
The SVGLength object has the following methods:
newValueSpecifiedUnits(unitType,valueInSpecifiedUnits)
This method has no return value. The unitType parameter is of type Number. The valueInSpecifiedUnits parameter is of type Number.
convertToSpecifiedUnits(unitType)
This method has no return value. The unitType parameter is of type Number.
Object SVGAnimatedLength
The SVGAnimatedLength object has the following properties:
baseVal
This read-only property is of type SVGLength.
animVal
This read-only property is of type SVGLength.
Object SVGLengthList
The SVGLengthList object has the following properties:
numberOfItems
This read-only property is of type Number.
The SVGLengthList object has the following methods:
clear()
This method has no return value.
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 Number.
insertItemBefore(newItem,index)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) SVGLength. The newItem parameter is of type SVGLength. The index parameter is of type Number.
removeItem(index)
This method returns a(n) SVGLength. The index parameter is of type Number.
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 read-only property is of type SVGLengthList.
animVal
This read-only property is of type SVGLengthList.
Prototype Object SVGAngle
The SVGAngle class has the following constants:
SVGAngle.SVG_ANGLETYPE_UNKNOWN
This constant is of type Number and has a value of 0.
SVGAngle.SVG_ANGLETYPE_UNSPECIFIED
This constant is of type Number and has a value of 1.
SVGAngle.SVG_ANGLETYPE_DEG
This constant is of type Number and has a value of 2.
SVGAngle.SVG_ANGLETYPE_RAD
This constant is of type Number and has a value of 3.
SVGAngle.SVG_ANGLETYPE_GRAD
This constant is of type Number and has a value of 4.
Object SVGAngle
The SVGAngle object has the following properties:
unitType
This read-only property is of type Number.
value
This property is of type Number.
valueInSpecifiedUnits
This property is of type Number.
valueAsString
This property is of type String.
The SVGAngle object has the following methods:
newValueSpecifiedUnits(unitType,valueInSpecifiedUnits)
This method has no return value. The unitType parameter is of type Number. The valueInSpecifiedUnits parameter is of type Number.
convertToSpecifiedUnits(unitType)
This method has no return value. The unitType parameter is of type Number.
Object SVGAnimatedAngle
The SVGAnimatedAngle object has the following properties:
baseVal
This read-only property is of type SVGAngle.
animVal
This read-only property is of type SVGAngle.
Prototype Object SVGColor
The SVGColor class has the following constants:
SVGColor.SVG_COLORTYPE_UNKNOWN
This constant is of type Number and has a value of 0.
SVGColor.SVG_COLORTYPE_RGBCOLOR
This constant is of type Number and has a value of 1.
SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
This constant is of type Number and has a value of 2.
SVGColor.SVG_COLORTYPE_CURRENTCOLOR
This constant is of type Number and has a value of 3.
Object SVGColor

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

The SVGColor object has the following properties:
colorType
This read-only property is of type Number.
rgbColor
This read-only property is of type css::RGBColor.
iccColor
This read-only property is of type SVGICCColor.
The SVGColor object has the following methods:
setRGBColor(rgbColor)
This method has no return value. The rgbColor parameter is of type String.
setRGBColorICCColor(rgbColor,iccColor)
This method has no return value. The rgbColor parameter is of type String. The iccColor parameter is of type String.
setColor(colorType,rgbColor,iccColor)
This method has no return value. The colorType parameter is of type Number. The rgbColor parameter is of type String. The iccColor parameter is of type String.
Object SVGICCColor
The SVGICCColor object has the following properties:
colorProfile
This property is of type String.
colors
This read-only property is of type SVGNumberList.
Object SVGRect
The SVGRect object has the following properties:
x
This property is of type Number.
y
This property is of type Number.
width
This property is of type Number.
height
This property is of type Number.
Object SVGAnimatedRect
The SVGAnimatedRect object has the following properties:
baseVal
This read-only property is of type SVGRect.
animVal
This read-only property is of type SVGRect.
Prototype Object SVGUnitTypes
The SVGUnitTypes class has the following constants:
SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN
This constant is of type Number and its value is 0.
SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE
This constant is of type Number and its value is 1.
SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
This constant is of type Number and its value is 2.
Object SVGStylable
The SVGStylable object has the following properties:
className
This read-only property is of type SVGAnimatedString.
style
This read-only 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 String.
Object SVGLocatable
The SVGLocatable object has the following properties:
nearestViewportElement
This read-only property is of type SVGElement.
farthestViewportElement
This read-only 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 read-only property is of type SVGAnimatedTransformList.
Object SVGTests
The SVGTests object has the following properties:
requiredFeatures
This read-only property is of type SVGStringList.
requiredExtensions
This read-only property is of type SVGStringList.
systemLanguage
This read-only 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 String.
Object SVGLangSpace
The SVGLangSpace object has the following properties:
xmllang
This property is of type String.
xmlspace
This property is of type String.
Object SVGExternalResourcesRequired
The SVGExternalResourcesRequired object has the following properties:
externalResourcesRequired
This read-only property is of type SVGAnimatedBoolean.
Object SVGFitToViewBox
The SVGFitToViewBox object has the following properties:
viewBox
This read-only property is of type SVGAnimatedRect.
preserveAspectRatio
This read-only property is of type SVGAnimatedPreserveAspectRatio.
Prototype Object SVGZoomAndPan
The SVGZoomAndPan class has the following constants:
SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN
This constant is of type Number and has a value of 0.
SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE
This constant is of type Number and has a value of 1.
SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY
This constant is of type Number and has a value of 2.
Object SVGZoomAndPan
The SVGZoomAndPan object has the following properties:
zoomAndPan
This property is of type Number.
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 read-only property is of type SVGTransformList.
viewTarget
This read-only property is of type SVGElement.
viewBoxString
This read-only property is of type String.
preserveAspectRatioString
This read-only property is of type String.
transformString
This read-only property is of type String.
viewTargetString
This read-only property is of type String.
Object SVGURIReference
The SVGURIReference object has the following properties:
href
This read-only property is of type SVGAnimatedString.
Prototype Object SVGRenderingIntent
The SVGRenderingIntent class has the following constants:
SVGRenderingIntent.RENDERING_INTENT_UNKNOWN
This constant is of type Number and its value is 0.
SVGRenderingIntent.RENDERING_INTENT_AUTO
This constant is of type Number and its value is 1.
SVGRenderingIntent.RENDERING_INTENT_PERCEPTUAL
This constant is of type Number and its value is 2.
SVGRenderingIntent.RENDERING_INTENT_RELATIVE_COLORIMETRIC
This constant is of type Number and its value is 3.
SVGRenderingIntent.RENDERING_INTENT_SATURATION
This constant is of type Number and its value is 4.
SVGRenderingIntent.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC
This constant is of type Number and its value is 5.
Prototype Object SVGCSSRule
The SVGCSSRule class has the following constants:
SVGCSSRule.COLOR_PROFILE_RULE
This constant is of type Number and has a value of 7.
Object SVGCSSRule

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

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 read-only property is of type String.
referrer
This read-only property is of type String.
domain
This read-only property is of type String.
URL
This read-only property is of type String.
rootElement
This read-only 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 read-only property is of type SVGAnimatedLength.
y
This read-only property is of type SVGAnimatedLength.
width
This read-only property is of type SVGAnimatedLength.
height
This read-only property is of type SVGAnimatedLength.
contentScriptType
This property is of type String.
contentStyleType
This property is of type String.
viewport
This read-only property is of type SVGRect.
pixelUnitToMillimeterX
This read-only property is of type Number.
pixelUnitToMillimeterY
This read-only property is of type Number.
screenPixelToMillimeterX
This read-only property is of type Number.
screenPixelToMillimeterY
This read-only property is of type Number.
useCurrentView
This property is of type Boolean.
currentView
This read-only property is of type SVGViewSpec.
currentScale
This property is of type Number.
currentTranslate
This read-only property is of type SVGPoint.
The SVGSVGElement object has the following methods:
suspendRedraw(max_wait_milliseconds)
This method returns a(n) Number. The max_wait_milliseconds parameter is of type Number.
unsuspendRedraw(suspend_handle_id)
This method has no return value. The suspend_handle_id parameter is of type Number.
unsuspendRedrawAll()
This method has no return value.
forceRedraw()
This method has no return value.
pauseAnimations()
This method has no return value.
unpauseAnimations()
This method has no return value.
animationsPaused()
This method returns a(n) Boolean.
getCurrentTime()
This method returns a(n) Number.
setCurrentTime(seconds)
This method has no return value. The seconds parameter is of type Number.
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 has no return value.
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 String.
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 read-only property is of type SVGAnimatedLength.
y
This read-only property is of type SVGAnimatedLength.
width
This read-only property is of type SVGAnimatedLength.
height
This read-only property is of type SVGAnimatedLength.
instanceRoot
This read-only property is of type SVGElementInstance.
animatedInstanceRoot
This read-only 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 read-only property is of type SVGElement.
correspondingUseElement
This read-only property is of type SVGUseElement.
parentNode
This read-only property is of type SVGElementInstance.
childNodes
This read-only property is of type SVGElementInstanceList.
firstChild
This read-only property is of type SVGElementInstance.
lastChild
This read-only property is of type SVGElementInstance.
previousSibling
This read-only property is of type SVGElementInstance.
nextSibling
This read-only property is of type SVGElementInstance.
Object SVGElementInstanceList
The SVGElementInstanceList object has the following properties:
length
This read-only property is of type Number.
The SVGElementInstanceList object has the following methods:
item(index)
This method returns a(n) SVGElementInstance. The index parameter is of type Number.
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 read-only property is of type SVGAnimatedLength.
y
This read-only property is of type SVGAnimatedLength.
width
This read-only property is of type SVGAnimatedLength.
height
This read-only property is of type SVGAnimatedLength.
preserveAspectRatio
This read-only 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 String.
type
This property is of type String.
media
This property is of type String.
title
This property is of type String.
Object SVGPoint
The SVGPoint object has the following properties:
x
This property is of type Number.
y
This property is of type Number.
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 read-only property is of type Number.
The SVGPointList object has the following methods:
clear()
This method has no return value.
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 Number.
insertItemBefore(newItem,index)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) SVGPoint. The newItem parameter is of type SVGPoint. The index parameter is of type Number.
removeItem(index)
This method returns a(n) SVGPoint. The index parameter is of type Number.
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 Number.
b
This property is of type Number.
c
This property is of type Number.
d
This property is of type Number.
e
This property is of type Number.
f
This property is of type Number.
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 Number. The y parameter is of type Number.
scale(scaleFactor)
This method returns a(n) SVGMatrix. The scaleFactor parameter is of type Number.
scaleNonUniform(scaleFactorX,scaleFactorY)
This method returns a(n) SVGMatrix. The scaleFactorX parameter is of type Number. The scaleFactorY parameter is of type Number.
rotate(angle)
This method returns a(n) SVGMatrix. The angle parameter is of type Number.
rotateFromVector(x,y)
This method returns a(n) SVGMatrix. The x parameter is of type Number. The y parameter is of type Number.
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 Number.
skewY(angle)
This method returns a(n) SVGMatrix. The angle parameter is of type Number.
Prototype Object SVGTransform
The SVGTransform class has the following constants:
SVGTransform.SVG_TRANSFORM_UNKNOWN
This constant is of type Number and has a value of 0.
SVGTransform.SVG_TRANSFORM_MATRIX
This constant is of type Number and has a value of 1.
SVGTransform.SVG_TRANSFORM_TRANSLATE
This constant is of type Number and has a value of 2.
SVGTransform.SVG_TRANSFORM_SCALE
This constant is of type Number and has a value of 3.
SVGTransform.SVG_TRANSFORM_ROTATE
This constant is of type Number and has a value of 4.
SVGTransform.SVG_TRANSFORM_SKEWX
This constant is of type Number and has a value of 5.
SVGTransform.SVG_TRANSFORM_SKEWY
This constant is of type Number and has a value of 6.
Object SVGTransform
The SVGTransform object has the following properties:
type
This read-only property is of type Number.
matrix
This read-only property is of type SVGMatrix.
angle
This read-only property is of type Number.
The SVGTransform object has the following methods:
setMatrix(matrix)
This method has no return value. The matrix parameter is of type SVGMatrix.
setTranslate(tx,ty)
This method has no return value. The tx parameter is of type Number. The ty parameter is of type Number.
setScale(sx,sy)
This method has no return value. The sx parameter is of type Number. The sy parameter is of type Number.
setRotate(angle,cx,cy)
This method has no return value. The angle parameter is of type Number. The cx parameter is of type Number. The cy parameter is of type Number.
setSkewX(angle)
This method has no return value. The angle parameter is of type Number.
setSkewY(angle)
This method has no return value. The angle parameter is of type Number.
Object SVGTransformList
The SVGTransformList object has the following properties:
numberOfItems
This read-only property is of type Number.
The SVGTransformList object has the following methods:
clear()
This method has no return value.
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 Number.
insertItemBefore(newItem,index)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) SVGTransform. The newItem parameter is of type SVGTransform. The index parameter is of type Number.
removeItem(index)
This method returns a(n) SVGTransform. The index parameter is of type Number.
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 read-only property is of type SVGTransformList.
animVal
This read-only property is of type SVGTransformList.
Prototype Object SVGPreserveAspectRatio
The SVGPreserveAspectRatio class has the following constants:
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN
This constant is of type Number and has a value of 0.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE
This constant is of type Number and has a value of 1.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN
This constant is of type Number and has a value of 2.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN
This constant is of type Number and has a value of 3.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN
This constant is of type Number and has a value of 4.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID
This constant is of type Number and has a value of 5.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID
This constant is of type Number and has a value of 6.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID
This constant is of type Number and has a value of 7.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX
This constant is of type Number and has a value of 8.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX
This constant is of type Number and has a value of 9.
SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX
This constant is of type Number and has a value of 10.
SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN
This constant is of type Number and has a value of 0.
SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET
This constant is of type Number and has a value of 1.
SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE
This constant is of type Number and has a value of 2.
Object SVGPreserveAspectRatio
The SVGPreserveAspectRatio object has the following properties:
align
This property is of type Number.
meetOrSlice
This property is of type Number.
Object SVGAnimatedPreserveAspectRatio
The SVGAnimatedPreserveAspectRatio object has the following properties:
baseVal
This read-only property is of type SVGPreserveAspectRatio.
animVal
This read-only property is of type SVGPreserveAspectRatio.
Prototype Object SVGPathSeg
The SVGPathSeg class has the following constants:
SVGPathSeg.PATHSEG_UNKNOWN
This constant is of type Number and has a value of 0.
SVGPathSeg.PATHSEG_CLOSEPATH
This constant is of type Number and has a value of 1.
SVGPathSeg.PATHSEG_MOVETO_ABS
This constant is of type Number and has a value of 2.
SVGPathSeg.PATHSEG_MOVETO_REL
This constant is of type Number and has a value of 3.
SVGPathSeg.PATHSEG_LINETO_ABS
This constant is of type Number and has a value of 4.
SVGPathSeg.PATHSEG_LINETO_REL
This constant is of type Number and has a value of 5.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS
This constant is of type Number and has a value of 6.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL
This constant is of type Number and has a value of 7.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS
This constant is of type Number and has a value of 8.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL
This constant is of type Number and has a value of 9.
SVGPathSeg.PATHSEG_ARC_ABS
This constant is of type Number and has a value of 10.
SVGPathSeg.PATHSEG_ARC_REL
This constant is of type Number and has a value of 11.
SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS
This constant is of type Number and has a value of 12.
SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL
This constant is of type Number and has a value of 13.
SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS
This constant is of type Number and has a value of 14.
SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL
This constant is of type Number and has a value of 15.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
This constant is of type Number and has a value of 16.
SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL
This constant is of type Number and has a value of 17.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
This constant is of type Number and has a value of 18.
SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
This constant is of type Number and has a value of 19.
Object SVGPathSeg
The SVGPathSeg object has the following properties:
pathSegType
This read-only property is of type Number.
pathSegTypeAsLetter
This read-only property is of type String.
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 Number.
y
This property is of type Number.
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 Number.
y
This property is of type Number.
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 Number.
y
This property is of type Number.
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 Number.
y
This property is of type Number.
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 Number.
y
This property is of type Number.
x1
This property is of type Number.
y1
This property is of type Number.
x2
This property is of type Number.
y2
This property is of type Number.
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 Number.
y
This property is of type Number.
x1
This property is of type Number.
y1
This property is of type Number.
x2
This property is of type Number.
y2
This property is of type Number.
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 Number.
y
This property is of type Number.
x1
This property is of type Number.
y1
This property is of type Number.
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 Number.
y
This property is of type Number.
x1
This property is of type Number.
y1
This property is of type Number.
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 Number.
y
This property is of type Number.
r1
This property is of type Number.
r2
This property is of type Number.
angle
This property is of type Number.
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 Number.
y
This property is of type Number.
r1
This property is of type Number.
r2
This property is of type Number.
angle
This property is of type Number.
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 Number.
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 Number.
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 Number.
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 Number.
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 Number.
y
This property is of type Number.
x2
This property is of type Number.
y2
This property is of type Number.
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 Number.
y
This property is of type Number.
x2
This property is of type Number.
y2
This property is of type Number.
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 Number.
y
This property is of type Number.
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 Number.
y
This property is of type Number.
Object SVGPathSegList
The SVGPathSegList object has the following properties:
numberOfItems
This read-only property is of type Number.
The SVGPathSegList object has the following methods:
clear()
This method has no return value.
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 Number.
insertItemBefore(newItem,index)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg. The index parameter is of type Number.
replaceItem(newItem,index)
This method returns a(n) SVGPathSeg. The newItem parameter is of type SVGPathSeg. The index parameter is of type Number.
removeItem(index)
This method returns a(n) SVGPathSeg. The index parameter is of type Number.
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 read-only property is of type SVGPathSegList.
normalizedPathSegList
This read-only property is of type SVGPathSegList.
animatedPathSegList
This read-only property is of type SVGPathSegList.
animatedNormalizedPathSegList
This read-only property is of type SVGPathSegList.