SVG API
SVG provides elements for circles, rectangles, and simple and complex curves. The elements' attribute values specify how these must be drawn. The SVG API is the subset of the DOM connecting these SVG elements and their attribute values to scripts or programming languages by representing them in memory. The SVG API thus provides methods that allow programmatic access to the SVG elements and their attribute values.
The SVG API is a set of interfaces that have been categorized into the following broad categories:
- The element interfaces provide access to the properties of SVG elements and methods to manipulate them.
- The static data type interfaces provide access to element attribute values and methods to manipulate them.
- For attributes that can be animated, the animated data type interfaces provide read only access to the current animated value of an attribute.
- The Synchronized Multimedia Integration Language (SMIL) interfaces
- Others
Interfaces
SVG element interfaces
SVGAElement
SVGAnimationElement
SVGAnimateElement
SVGAnimateMotionElement
SVGAnimateTransformElement
SVGCircleElement
SVGClipPathElement
SVGComponentTransferFunctionElement
SVGCursorElement
SVGDefsElement
SVGDescElement
SVGElement
SVGEllipseElement
SVGFEBlendElement
SVGFEColorMatrixElement
SVGFEComponentTransferElement
SVGFECompositeElement
SVGFEConvolveMatrixElement
SVGFEDiffuseLightingElement
SVGFEDisplacementMapElement
SVGFEDistantLightElement
SVGFEDropShadowElement
SVGFEFloodElement
SVGFEFuncAElement
SVGFEFuncBElement
SVGFEFuncGElement
SVGFEFuncRElement
SVGFEGaussianBlurElement
SVGFEImageElement
SVGFEMergeElement
SVGFEMergeNodeElement
SVGFEMorphologyElement
SVGFEOffsetElement
SVGFEPointLightElement
SVGFESpecularLightingElement
SVGFESpotLightElement
SVGFETileElement
SVGFETurbulenceElement
SVGFilterElement
SVGForeignObjectElement
SVGGElement
SVGGeometryElement
SVGGradientElement
SVGGraphicsElement
SVGHatchElement
ExperimentalSVGHatchpathElement
ExperimentalSVGImageElement
SVGLinearGradientElement
SVGLineElement
SVGMarkerElement
ExperimentalSVGMaskElement
SVGMetadataElement
SVGMPathElement
SVGPathElement
SVGPatternElement
SVGPolylineElement
SVGPolygonElement
SVGRadialGradientElement
SVGRectElement
SVGScriptElement
SVGSetElement
SVGStopElement
SVGStyleElement
SVGSVGElement
SVGSwitchElement
SVGSymbolElement
SVGTextContentElement
SVGTextElement
SVGTextPathElement
SVGTextPositioningElement
SVGTitleElement
SVGTSpanElement
SVGUseElement
SVGViewElement
SVG data type interfaces
Here are the DOM APIs for data types used in the definitions of SVG properties and attributes.
Static type
SVGAngle
SVGElementInstance
SVGElementInstanceList
SVGLength
SVGLengthList
SVGNameList
SVGNumber
SVGNumberList
SVGPaint
SVGPreserveAspectRatio
SVGStringList
SVGTransform
SVGTransformList
Animated type
SMIL-related interfaces
Other SVG interfaces
Specifications
Specification |
---|
Scalable Vector Graphics (SVG) 2 |