PathSegmentKind Enum
Identifies what a PathSegment adds to a path.
public enum PathSegmentKindFields
| Name | Value | Description |
|---|---|---|
MoveTo | 0 | Starts a contour at PathSegment.Point. |
LineTo | 1 | A straight segment to PathSegment.Point. |
QuadraticBezierTo | 2 | A quadratic Bézier curve to PathSegment.Point, whose control point is PathSegment.Control1. |
CubicBezierTo | 3 | A cubic Bézier curve to PathSegment.Point, whose control points are PathSegment.Control1 and PathSegment.Control2. |
ArcTo | 4 | An arc of an ellipse to PathSegment.Point, described as the arcs of SVG paths are. |
Close | 5 | Closes the contour with a straight segment to its first point, which is PathSegment.Point. |