Firefox Tomorrow

web api interface

SVGGraphicsElement

View on MDN ↗

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.

Instance methods

This interface also inherits methods from its parent, SVGElement.

  • getBBox()
    • : Returns a DOMRect representing the computed bounding box of the current element.
  • getCTM()
    • : Returns a DOMMatrix representing the matrix that transforms the current element’s coordinate system to its SVG viewport’s coordinate system.
  • getScreenCTM()
    • : Returns a 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.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.