GeometryElement

package js.html.svg

extends GraphicsElementElementDOMElementNodeEventTarget

extended by CircleElement, EllipseElement, LineElement, PathElement, PolygonElement, PolylineElement, RectElement

Available on js

The SVGGeometryElement interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.

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

See also:

Variables

read onlypathLength:AnimatedNumber

This property reflects the pathLength attribute.

Methods

getPointAtLength(distance:Float):Point

Returns the point at a given distance along the path.

Throws:

null

DOMError

getTotalLength():Float

Returns the user agent's computed value for the total length of the path in user units.

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