W3cubDocs

/Haxe JavaScript

PathElement

package js.html.svg

extends GraphicsElementElementDOMElementNodeEventTarget

Available on js

The SVGPathElement interface corresponds to the path element.

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

See:

Variables

read only animatedPathSegList:PathSegList

read only pathLength:AnimatedNumber

read only pathSegList:PathSegList

Methods

createSVGPathSegArcAbs (x:Float, y:Float, r1:Float, r2:Float, angle:Float, largeArcFlag:Bool, sweepFlag:Bool):PathSegArcAbs

createSVGPathSegArcRel (x:Float, y:Float, r1:Float, r2:Float, angle:Float, largeArcFlag:Bool, sweepFlag:Bool):PathSegArcRel

createSVGPathSegClosePath ():PathSegClosePath

createSVGPathSegCurvetoCubicAbs (x:Float, y:Float, x1:Float, y1:Float, x2:Float, y2:Float):PathSegCurvetoCubicAbs

createSVGPathSegCurvetoCubicRel (x:Float, y:Float, x1:Float, y1:Float, x2:Float, y2:Float):PathSegCurvetoCubicRel

createSVGPathSegCurvetoCubicSmoothAbs (x:Float, y:Float, x2:Float, y2:Float):PathSegCurvetoCubicSmoothAbs

createSVGPathSegCurvetoCubicSmoothRel (x:Float, y:Float, x2:Float, y2:Float):PathSegCurvetoCubicSmoothRel

createSVGPathSegCurvetoQuadraticAbs (x:Float, y:Float, x1:Float, y1:Float):PathSegCurvetoQuadraticAbs

createSVGPathSegCurvetoQuadraticRel (x:Float, y:Float, x1:Float, y1:Float):PathSegCurvetoQuadraticRel

createSVGPathSegCurvetoQuadraticSmoothAbs (x:Float, y:Float):PathSegCurvetoQuadraticSmoothAbs

createSVGPathSegCurvetoQuadraticSmoothRel (x:Float, y:Float):PathSegCurvetoQuadraticSmoothRel

createSVGPathSegLinetoAbs (x:Float, y:Float):PathSegLinetoAbs

createSVGPathSegLinetoHorizontalAbs (x:Float):PathSegLinetoHorizontalAbs

createSVGPathSegLinetoHorizontalRel (x:Float):PathSegLinetoHorizontalRel

createSVGPathSegLinetoRel (x:Float, y:Float):PathSegLinetoRel

createSVGPathSegLinetoVerticalAbs (y:Float):PathSegLinetoVerticalAbs

createSVGPathSegLinetoVerticalRel (y:Float):PathSegLinetoVerticalRel

createSVGPathSegMovetoAbs (x:Float, y:Float):PathSegMovetoAbs

createSVGPathSegMovetoRel (x:Float, y:Float):PathSegMovetoRel

getPathSegAtLength (distance:Float):Int

getPointAtLength (distance:Float):Point

Throws:

null DOMError

getTotalLength ():Float

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/svg/PathElement.html