PathSegmentKind Enum

Identifies what a PathSegment adds to a path.

public enum PathSegmentKind

Fields

NameValueDescription
MoveTo0Starts a contour at PathSegment.Point.
LineTo1A straight segment to PathSegment.Point.
QuadraticBezierTo2A quadratic Bézier curve to PathSegment.Point, whose control point is PathSegment.Control1.
CubicBezierTo3A cubic Bézier curve to PathSegment.Point, whose control points are PathSegment.Control1 and PathSegment.Control2.
ArcTo4An arc of an ellipse to PathSegment.Point, described as the arcs of SVG paths are.
Close5Closes the contour with a straight segment to its first point, which is PathSegment.Point.