SVGPathElement Interface
Extends
SVGTransformable, SVGLangSpace, SVGStylable, SVGExternalResourcesRequired, SVGTests, SVGElement
Methods
Code SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) #
SVGPathSegArcAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.float r1
The x-axis radius for the ellipse.float r2
The y-axis radius for the ellipse.float angle
The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.boolean largeArcFlag
The value of the large-arc-flag parameter.boolean sweepFlag
The value of the large-arc-flag parameter.
SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag);
Code SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) #
SVGPathSegArcRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.float y
The relative Y coordinate for the end point of this path segment.float r1
The x-axis radius for the ellipse.float r2
The y-axis radius for the ellipse.float angle
The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.boolean largeArcFlag
The value of the large-arc-flag parameter.boolean sweepFlag
The value of the large-arc-flag parameter.
SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag);
Code SVGPathSegClosePath createSVGPathSegClosePath() #
SVGPathSegClosePath
object.
SVGPathSegClosePath createSVGPathSegClosePath();
Code SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) #
SVGPathSegCurvetoCubicAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.float x1
The absolute X coordinate for the first control point.float y1
The absolute Y coordinate for the first control point.float x2
The absolute X coordinate for the second control point.float y2
The absolute Y coordinate for the second control point.
SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2);
Code SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) #
SVGPathSegCurvetoCubicRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.float y
The relative Y coordinate for the end point of this path segment.float x1
The relative X coordinate for the first control point.float y1
The relative Y coordinate for the first control point.float x2
The relative X coordinate for the second control point.float y2
The relative Y coordinate for the second control point.
SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2);
Code SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) #
SVGPathSegCurvetoCubicSmoothAbs
object.Parameters
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.float x2
The absolute X coordinate for the second control point.float y2
The absolute Y coordinate for the second control point.
SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2);
Code SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) #
SVGPathSegCurvetoCubicSmoothRel
object.Parameters
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.float x2
The absolute X coordinate for the second control point.float y2
The absolute Y coordinate for the second control point.
SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2);
Code SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) #
SVGPathSegCurvetoQuadraticAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.float x1
The absolute X coordinate for the first control point.float y1
The absolute Y coordinate for the first control point.
SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1);
Code SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) #
SVGPathSegCurvetoQuadraticRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.float y
The relative Y coordinate for the end point of this path segment.float x1
The relative X coordinate for the first control point.float y1
The relative Y coordinate for the first control point.
SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1);
Code SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(num x, num y) #
SVGPathSegCurvetoQuadraticSmoothAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.
SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(num x, num y);
Code SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(num x, num y) #
SVGPathSegCurvetoQuadraticSmoothRel
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.
SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(num x, num y);
Code SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) #
SVGPathSegLinetoAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.
SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y);
Code SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) #
SVGPathSegLinetoHorizontalAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.
SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x);
Code SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) #
SVGPathSegLinetoHorizontalRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.
SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x);
Code SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) #
SVGPathSegLinetoRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.float y
The relative Y coordinate for the end point of this path segment.
SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y);
Code SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) #
SVGPathSegLinetoVerticalAbs
object.Parameters:
float y
The absolute Y coordinate for the end point of this path segment.
SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y);
Code SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) #
SVGPathSegLinetoVerticalRel
object.Parameters:
float y
The relative Y coordinate for the end point of this path segment.
SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y);
Code SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) #
SVGPathSegMovetoAbs
object.Parameters:
float x
The absolute X coordinate for the end point of this path segment.float y
The absolute Y coordinate for the end point of this path segment.
SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y);
Code SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) #
SVGPathSegMovetoRel
object.Parameters:
float x
The relative X coordinate for the end point of this path segment.float y
The relative Y coordinate for the end point of this path segment.
SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y);
Code int getPathSegAtLength(num distance) #
pathSegList
which is distance
units along the path, utilizing the user agent's distance-along-a-path algorithm.
int getPathSegAtLength(num distance);
Code SVGPoint getPointAtLength(num distance) #
SVGPoint getPointAtLength(num distance);
Code num getTotalLength() #
num getTotalLength();
Fields
Code final SVGPathSegList animatedNormalizedPathSegList #
final SVGPathSegList animatedNormalizedPathSegList;
Code final SVGPathSegList animatedPathSegList #
final SVGPathSegList animatedPathSegList;
Code final SVGPathSegList normalizedPathSegList #
final SVGPathSegList normalizedPathSegList;
Code final SVGAnimatedNumber pathLength #
final SVGAnimatedNumber pathLength;
Code final SVGPathSegList pathSegList #
final SVGPathSegList pathSegList;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.