SVGGraphicsElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheSVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
In this article
Instance properties
This interface also inherits properties from its parent,SVGElement.
SVGGraphicsElement.requiredExtensionsRead onlyAn
SVGStringListreflecting therequiredExtensionsattribute of the given element.SVGGraphicsElement.systemLanguageRead onlyAn
SVGStringListreflecting thesystemLanguageattribute of the given element.SVGGraphicsElement.transformRead onlyAn
SVGAnimatedTransformListreflecting the computed value of thetransformproperty and its correspondingtransformattribute of the given element.
Instance 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.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGGraphicsElement> |