SVGPathSeg Class

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

NameDescription
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

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

Fields

NameDescription
const PATHSEG_ARC_ABSCorresponds to a “absolute arcto” (A) path data command.
const PATHSEG_ARC_RELCorresponds to a “relative arcto” (a) path data command.
const PATHSEG_CLOSEPATHCorresponds to a “closepath” (z) path data command.
const PATHSEG_CURVETO_CUBIC_ABSCorresponds to a “absolute cubic Bézier curveto” (C) path data command.
const PATHSEG_CURVETO_CUBIC_RELCorresponds to a “relative cubic Bézier curveto” (c) path data command.
const PATHSEG_CURVETO_CUBIC_SMOOTH_ABSCorresponds to a “absolute smooth cubic curveto” (S) path data command.
const PATHSEG_CURVETO_CUBIC_SMOOTH_RELCorresponds to a “relative smooth cubic curveto” (s) path data command.
const PATHSEG_CURVETO_QUADRATIC_ABSCorresponds to a “absolute quadratic Bézier curveto” (Q) path data command.
const PATHSEG_CURVETO_QUADRATIC_RELCorresponds to a “relative quadratic Bézier curveto” (q) path data command.
const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABSCorresponds to a “absolute smooth quadratic curveto” (T) path data command.
const PATHSEG_CURVETO_QUADRATIC_SMOOTH_RELCorresponds to a “relative smooth quadratic curveto” (t) path data command.
const PATHSEG_LINETO_ABSCorresponds to a “absolute lineto” (L) path data command.
const PATHSEG_LINETO_HORIZONTAL_ABSCorresponds to a “absolute horizontal lineto” (H) path data command.
const PATHSEG_LINETO_HORIZONTAL_RELCorresponds to a “relative horizontal lineto” (h) path data command.
const PATHSEG_LINETO_RELCorresponds to a “relative lineto” (l) path data command.
const PATHSEG_LINETO_VERTICAL_ABSCorresponds to a “absolute vertical lineto” (V) path data command.
const PATHSEG_LINETO_VERTICAL_RELCorresponds to a “relative vertical lineto” (v) path data command.
const PATHSEG_MOVETO_ABSCorresponds to a “absolute moveto” (M) path data command.
const PATHSEG_MOVETO_RELCorresponds to a “relative moveto” (m) path data command.
const PATHSEG_UNKNOWNThe 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