SVGPathSeg

SVGPathSeg class

The SVGPathSeg interface is a base interface that corresponds to a single command within a path data specification.

public abstract class SVGPathSeg : SVGValueType

Properties

Name Description
PathSegType { get; } The type of the path segment as specified by one of the constants defined on this interface.
PathSegTypeAsLetter { get; } The type of the path segment, specified by the corresponding one character command name.

Methods

Name Description
Dispose() Releases unmanaged and - optionally - managed resources.
virtual GetPlatformType() This method is used to retrieve ECMAScript object Type.

Fields

Name Description
const PATHSEG_ARC_ABS Corresponds to a “absolute arcto” (A) path data command.
const PATHSEG_ARC_REL Corresponds to a “relative arcto” (a) path data command.
const PATHSEG_CLOSEPATH Corresponds to a “closepath” (z) path data command.
const PATHSEG_CURVETO_CUBIC_ABS Corresponds to a “absolute cubic Bézier curveto” (C) path data command.
const PATHSEG_CURVETO_CUBIC_REL Corresponds to a “relative cubic Bézier curveto” (c) path data command.
const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS Corresponds to a “absolute smooth cubic curveto” (S) path data command.
const PATHSEG_CURVETO_CUBIC_SMOOTH_REL Corresponds to a “relative smooth cubic curveto” (s) path data command.
const PATHSEG_CURVETO_QUADRATIC_ABS Corresponds to a “absolute quadratic Bézier curveto” (Q) path data command.
const PATHSEG_CURVETO_QUADRATIC_REL Corresponds to a “relative quadratic Bézier curveto” (q) path data command.
const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS Corresponds to a “absolute smooth quadratic curveto” (T) path data command.
const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL Corresponds to a “relative smooth quadratic curveto” (t) path data command.
const PATHSEG_LINETO_ABS Corresponds to a “absolute lineto” (L) path data command.
const PATHSEG_LINETO_HORIZONTAL_ABS Corresponds to a “absolute horizontal lineto” (H) path data command.
const PATHSEG_LINETO_HORIZONTAL_REL Corresponds to a “relative horizontal lineto” (h) path data command.
const PATHSEG_LINETO_REL Corresponds to a “relative lineto” (l) path data command.
const PATHSEG_LINETO_VERTICAL_ABS Corresponds to a “absolute vertical lineto” (V) path data command.
const PATHSEG_LINETO_VERTICAL_REL Corresponds to a “relative vertical lineto” (v) path data command.
const PATHSEG_MOVETO_ABS Corresponds to a “absolute moveto” (M) path data command.
const PATHSEG_MOVETO_REL Corresponds to a “relative moveto” (m) path data command.
const PATHSEG_UNKNOWN The unit type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

See Also