SVGGraphicsElement
{{APIRef("SVG")}}
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
{{InheritanceDiagram}}
Instance properties
This interface also inherits properties from its parent, {{domxref("SVGElement")}} .
{{domxref("SVGGraphicsElement.requiredExtensions")}}{{ReadOnlyInline}}- : An
{{domxref("SVGStringList")}}reflecting the{{SVGAttr("requiredExtensions")}}attribute of the given element.
- : An
{{domxref("SVGGraphicsElement.systemLanguage")}}{{ReadOnlyInline}}- : An
{{domxref("SVGStringList")}}reflecting the{{SVGAttr("systemLanguage")}}attribute of the given element.
- : An
{{domxref("SVGGraphicsElement.transform")}}{{ReadOnlyInline}}- : An
{{domxref("SVGAnimatedTransformList")}}reflecting the computed value of the{{cssxref("transform")}}property and its corresponding{{SVGAttr("transform")}}attribute of the given element.
- : An
Instance methods
This interface also inherits methods from its parent, {{domxref("SVGElement")}} .
{{domxref("SVGGraphicsElement.getBBox()")}}- : Returns a
{{domxref("DOMRect")}}representing the computed bounding box of the current element.
- : Returns a
{{domxref("SVGGraphicsElement.getCTM()")}}- : Returns a
{{domxref("DOMMatrix")}}representing the matrix that transforms the current element’s coordinate system to its SVG viewport’s coordinate system.
- : Returns a
{{domxref("SVGGraphicsElement.getScreenCTM()")}}- : Returns a
{{domxref("DOMMatrix")}}representing the matrix that transforms the current element’s coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
- : Returns a
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}