GraphicsElement

js.html.EventTargetjs.html.Nodejs.html.DOMElementElementjs.html.svg.GraphicsElement (extern class) → ImageElement, SVGElement

The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.

Documentation SVGGraphicsElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

An SVGAnimatedTransformList reflecting the computed value of the transform property and its corresponding transform attribute of the given element.


nearestViewportElement: Element

farthestViewportElement: Element

requiredFeatures: StringList

requiredExtensions: StringList

systemLanguage: StringList

getBBox(?aOptions: Null<BoundingBoxOptions>): Rect

Returns a DOMRect representing the computed bounding box of the current element.

Name Type Default
aOptions Null<BoundingBoxOptions> (optional)
Returns
Rect

getCTM(): Matrix

Returns a DOMMatrix representing the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.

Returns
Matrix

getScreenCTM(): Matrix

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.

Returns
Matrix

getTransformToElement(element: GraphicsElement): Matrix
Name Type
element GraphicsElement
Returns
Matrix

hasExtension(extension: String): Bool
Name Type
extension String
Returns
Bool