SVGElement in SVG 1.1
Generic interface/class from which other elements inherit.
For more information see http://www.w3.org/TR/SVG11/types.html#InterfaceSVGElement.
Inherits from:
Inerhited by:
- SVGAElement
- SVGAltGlyphDefElement
- SVGAltGlyphItemElement
- SVGAnimationElement
- SVGCircleElement
- SVGClipPathElement
- SVGColorProfileElement
- SVGComponentTransferFunctionElement
- SVGCursorElement
- SVGDefinitionSrcElement
- SVGDefsElement
- SVGDescElement
- SVGEllipseElement
- SVGFEBlendElement
- SVGFEColorMatrixElement
- SVGFEComponentTransferElement
- SVGFECompositeElement
- SVGFEConvolveMatrixElement
- SVGFEDiffuseLightingElement
- SVGFEDisplacementMapElement
- SVGFEDistantLightElement
- SVGFEFloodElement
- SVGFEGaussianBlurElement
- SVGFEImageElement
- SVGFEMergeElement
- SVGFEMergeNodeElement
- SVGFEMorphologyElement
- SVGFEOffsetElement
- SVGFEPointLightElement
- SVGFESpecularLightingElement
- SVGFESpotLightElement
- SVGFETileElement
- SVGFETurbulenceElement
- SVGFilterElement
- SVGFontElement
- SVGFontFaceElement
- SVGFontFaceFormatElement
- SVGFontFaceNameElement
- SVGFontFaceSrcElement
- SVGFontFaceUriElement
- SVGForeignObjectElement
- SVGGElement
- SVGGlyphElement
- SVGGlyphRefElement
- SVGGradientElement
- SVGHKernElement
- SVGImageElement
- SVGLineElement
- SVGMarkerElement
- SVGMaskElement
- SVGMetadataElement
- SVGMissingGlyphElement
- SVGMPathElement
- SVGPathElement
- SVGPatternElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGScriptElement
- SVGStopElement
- SVGStyleElement
- SVGSVGElement
- SVGSwitchElement
- SVGSymbolElement
- SVGTextContentElement
- SVGTitleElement
- SVGUseElement
- SVGViewElement
- SVGVKernElement
- SVGFEFuncAElement
- SVGFEFuncBElement
- SVGFEFuncGElement
- SVGFEFuncRElement
- SVGTextPathElement
- SVGTextPositioningElement
- SVGAltGlyphElement
- SVGTextElement
- SVGTRefElement
- SVGTSpanElement
- SVGLinearGradientElement
- SVGRadialGradientElement
- SVGAnimateColorElement
- SVGAnimateElement
- SVGAnimateMotionElement
- SVGAnimateTransformElement
- SVGSetElement
Instance Properties
| name | type | description |
|---|---|---|
| attributes | NamedNodeMap | (read only) [from Node] |
| childNodes | NodeList | (read only) [from Node] |
| firstChild | Node | (read only) [from Node] |
| id | String | |
| lastChild | Node | (read only) [from Node] |
| localName | String | (read only) [from Node] |
| namespaceURI | String | (read only) [from Node] |
| nextSibling | Node | (read only) [from Node] |
| nodeName | String | (read only) [from Node] |
| nodeType | Number | (read only) [from Node] |
| nodeValue | String | [from Node] |
| ownerDocument | Document | (read only) [from Node] |
| ownerSVGElement | SVGSVGElement | (read only) |
| parentNode | Node | (read only) [from Node] |
| prefix | String | [from Node] |
| previousSibling | Node | (read only) [from Node] |
| tagName | String | (read only) [from Element] |
| viewportElement | SVGElement | (read only) |
| xmlbase | String |
Instance Methods
Description
All of the SVG DOM interfaces that correspond directly to elements in the SVG language (e.g., the SVGPathElement interface corresponds directly to the
<path /> element in the language) are derivative from this base class.Properties that are an SVGElement
| name | object | description |
|---|---|---|
| correspondingElement | SVGElementInstance | (read only) |
| farthestViewportElement | SVGLocatable | (read only) |
| nearestViewportElement | SVGLocatable | (read only) |
| targetElement | SVGAnimationElement | (read only) |
| viewportElement | SVGElement | (read only) |
| viewTarget | SVGViewSpec | (read only) |
Arguments that are an SVGElement
| name | in method | of object | description |
|---|---|---|---|
| element | getTransformToElement(element) | SVGLocatable | |
| element | checkIntersection(element,rect) | SVGSVGElement | The element on which to perfor |
| element | checkEnclosure(element,rect) | SVGSVGElement | The element on which to perfor |
| referenceElement | getIntersectionList(rect,referenceElement) | SVGSVGElement | If null, return a |
| referenceElement | getEnclosureList(rect,referenceElement) | SVGSVGElement | If null, return a |