Class SVGPathSeg
Namespace: Aspose.Html.Dom.Svg.Paths
Assembly: Aspose.HTML.dll (25.2.0)
The SVGPathSeg interface is a base interface that corresponds to a single command within a path data specification.
[DOMObject]
[DOMName("SVGPathSeg")]
[ComVisible(true)]
public abstract class SVGPathSeg : SVGValueType, INotifyPropertyChanged, IDisposable
Inheritance
object ← DOMObject ← SVGValueType ← SVGPathSeg
Derived
SVGPathSegArcAbs, SVGPathSegArcRel, SVGPathSegClosePath, SVGPathSegCurvetoCubicAbs, SVGPathSegCurvetoCubicRel, SVGPathSegCurvetoCubicSmoothAbs, SVGPathSegCurvetoCubicSmoothRel, SVGPathSegCurvetoQuadraticAbs, SVGPathSegCurvetoQuadraticRel, SVGPathSegCurvetoQuadraticSmoothAbs, SVGPathSegCurvetoQuadraticSmoothRel, SVGPathSegLinetoAbs, SVGPathSegLinetoHorizontalAbs, SVGPathSegLinetoHorizontalRel, SVGPathSegLinetoRel, SVGPathSegLinetoVerticalAbs, SVGPathSegLinetoVerticalRel, SVGPathSegMovetoAbs, SVGPathSegMovetoRel
Implements
INotifyPropertyChanged, IDisposable
Inherited Members
SVGValueType.Dispose(), SVGValueType.Dispose(bool), DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Fields
PATHSEG_ARC_ABS
Corresponds to a “absolute arcto” (A) path data command.
[DOMName("PATHSEG_ARC_ABS")]
public const ushort PATHSEG_ARC_ABS = 10
Field Value
PATHSEG_ARC_REL
Corresponds to a “relative arcto” (a) path data command.
[DOMName("PATHSEG_ARC_REL")]
public const ushort PATHSEG_ARC_REL = 11
Field Value
PATHSEG_CLOSEPATH
Corresponds to a “closepath” (z) path data command.
[DOMName("PATHSEG_CLOSEPATH")]
public const ushort PATHSEG_CLOSEPATH = 1
Field Value
PATHSEG_CURVETO_CUBIC_ABS
Corresponds to a “absolute cubic Bézier curveto” (C) path data command.
[DOMName("PATHSEG_CURVETO_CUBIC_ABS")]
public const ushort PATHSEG_CURVETO_CUBIC_ABS = 6
Field Value
PATHSEG_CURVETO_CUBIC_REL
Corresponds to a “relative cubic Bézier curveto” (c) path data command.
[DOMName("PATHSEG_CURVETO_CUBIC_REL")]
public const ushort PATHSEG_CURVETO_CUBIC_REL = 7
Field Value
PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
Corresponds to a “absolute smooth cubic curveto” (S) path data command.
[DOMName("PATHSEG_CURVETO_CUBIC_SMOOTH_ABS")]
public const ushort PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16
Field Value
PATHSEG_CURVETO_CUBIC_SMOOTH_REL
Corresponds to a “relative smooth cubic curveto” (s) path data command.
[DOMName("PATHSEG_CURVETO_CUBIC_SMOOTH_REL")]
public const ushort PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17
Field Value
PATHSEG_CURVETO_QUADRATIC_ABS
Corresponds to a “absolute quadratic Bézier curveto” (Q) path data command.
[DOMName("PATHSEG_CURVETO_QUADRATIC_ABS")]
public const ushort PATHSEG_CURVETO_QUADRATIC_ABS = 8
Field Value
PATHSEG_CURVETO_QUADRATIC_REL
Corresponds to a “relative quadratic Bézier curveto” (q) path data command.
[DOMName("PATHSEG_CURVETO_QUADRATIC_REL")]
public const ushort PATHSEG_CURVETO_QUADRATIC_REL = 9
Field Value
PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
Corresponds to a “absolute smooth quadratic curveto” (T) path data command.
[DOMName("PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS")]
public const ushort PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18
Field Value
PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
Corresponds to a “relative smooth quadratic curveto” (t) path data command.
[DOMName("PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL")]
public const ushort PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19
Field Value
PATHSEG_LINETO_ABS
Corresponds to a “absolute lineto” (L) path data command.
[DOMName("PATHSEG_LINETO_ABS")]
public const ushort PATHSEG_LINETO_ABS = 4
Field Value
PATHSEG_LINETO_HORIZONTAL_ABS
Corresponds to a “absolute horizontal lineto” (H) path data command.
[DOMName("PATHSEG_LINETO_HORIZONTAL_ABS")]
public const ushort PATHSEG_LINETO_HORIZONTAL_ABS = 12
Field Value
PATHSEG_LINETO_HORIZONTAL_REL
Corresponds to a “relative horizontal lineto” (h) path data command.
[DOMName("PATHSEG_LINETO_HORIZONTAL_REL")]
public const ushort PATHSEG_LINETO_HORIZONTAL_REL = 13
Field Value
PATHSEG_LINETO_REL
Corresponds to a “relative lineto” (l) path data command.
[DOMName("PATHSEG_LINETO_REL")]
public const ushort PATHSEG_LINETO_REL = 5
Field Value
PATHSEG_LINETO_VERTICAL_ABS
Corresponds to a “absolute vertical lineto” (V) path data command.
[DOMName("PATHSEG_LINETO_VERTICAL_ABS")]
public const ushort PATHSEG_LINETO_VERTICAL_ABS = 14
Field Value
PATHSEG_LINETO_VERTICAL_REL
Corresponds to a “relative vertical lineto” (v) path data command.
[DOMName("PATHSEG_LINETO_VERTICAL_REL")]
public const ushort PATHSEG_LINETO_VERTICAL_REL = 15
Field Value
PATHSEG_MOVETO_ABS
Corresponds to a “absolute moveto” (M) path data command.
[DOMName("PATHSEG_MOVETO_ABS")]
public const ushort PATHSEG_MOVETO_ABS = 2
Field Value
PATHSEG_MOVETO_REL
Corresponds to a “relative moveto” (m) path data command.
[DOMName("PATHSEG_MOVETO_REL")]
public const ushort PATHSEG_MOVETO_REL = 3
Field Value
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.
[DOMName("PATHSEG_UNKNOWN")]
public const ushort PATHSEG_UNKNOWN = 0
Field Value
Properties
PathSegType
The type of the path segment as specified by one of the constants defined on this interface.
[DOMName("pathSegType")]
public ushort PathSegType { get; }
Property Value
PathSegTypeAsLetter
The type of the path segment, specified by the corresponding one character command name.
[DOMName("pathSegTypeAsLetter")]
public string PathSegTypeAsLetter { get; }