SVGGraphicsElement
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
Properties
This interface also inherits properties from its parent, SVGElement.
SVGGraphicsElement.requiredExtensionsRead only-
An
SVGStringListreflecting therequiredExtensionsattribute of the given element. SVGGraphicsElement.systemLanguageRead only-
An
SVGStringListreflecting thesystemLanguageattribute of the given element. SVGGraphicsElement.transformRead only-
An
SVGAnimatedTransformListreflecting the computed value of thetransformproperty and its correspondingtransformattribute of the given element.
Methods
This interface also inherits methods from its parent, SVGElement.
SVGGraphicsElement.getBBox()-
Returns a
DOMRectrepresenting the computed bounding box of the current element. SVGGraphicsElement.getCTM()-
Returns a
DOMMatrixrepresenting the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system. SVGGraphicsElement.getScreenCTM()-
Returns a
DOMMatrixrepresenting the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
Events
Listen to these events using addEventListener() or by assigning an event listener to the equivalent on... handler property defined on GlobalEventHandlers or WindowEventHandlers.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 1.1 (Second Edition) # InterfaceSVGGraphicsElement |
Browser compatibility
BCD tables only load in the browser