pathSegType property
Gets the type of the path segment.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.pathSegType |
Property values
Type: Number
The type of the path segment, as specified by one of the SVGPathSeg constants.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.1
See also
- SVGPathSeg
- SVGPathSegArcAbs
- SVGPathSegArcRel
- SVGPathSegClosePath
- SVGPathSegCurvetoCubicAbs
- SVGPathSegCurvetoCubicRel
- SVGPathSegCurvetoCubicSmoothAbs
- SVGPathSegCurvetoCubicSmoothRel
- SVGPathSegCurvetoQuadraticAbs
- SVGPathSegCurvetoQuadraticRel
- SVGPathSegCurvetoQuadraticSmoothAbs
- SVGPathSegCurvetoQuadraticSmoothRel
- SVGPathSegLinetoAbs
- SVGPathSegLinetoHorizontalAbs
- SVGPathSegLinetoHorizontalRel
- SVGPathSegLinetoRel
- SVGPathSegLinetoVerticalAbs
- SVGPathSegLinetoVerticalRel
- SVGPathSegMovetoAbs
- SVGPathSegMovetoRel
Show:

