W3cubDocs

/Haxe JavaScript

GraphicsElement

package js.html.svg

extends ElementDOMElementNodeEventTarget

extended by AElement, DefsElement, ForeignObjectElement, GElement, GeometryElement, ImageElement, SVGElement, SwitchElement, TextContentElement, UseElement

Available on js

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 also:

Variables

read onlyfarthestViewportElement:Element

read onlynearestViewportElement:Element

read onlyrequiredExtensions:StringList

read onlyrequiredFeatures:StringList

read onlysystemLanguage:StringList

read onlytransform:AnimatedTransformList

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

Methods

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

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

Throws:

null

DOMError

getCTM():Matrix

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

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.

getTransformToElement(element:GraphicsElement):Matrix

Throws:

null

DOMError

hasExtension(extension:String):Bool

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/GraphicsElement.html