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.
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
Instance 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.
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> |
Browser compatibility
Loading…