SKPathVerb Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verbs contained in an SKPath.
public enum SKPathVerb
- Inheritance
-
SKPathVerb
Fields
Close | 5 | Close path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return one point (contour's MoveTo(SKPoint) point). |
Conic | 3 | Conic path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return three points, plus the ConicWeight() point. |
Cubic | 4 | Cubic path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return four points. |
Done | 6 | The path is completed, points will not contain any data. |
Line | 1 | Line path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return two points. |
Move | 0 | Move command, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return a single point. |
Quad | 2 | Quad command, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return three points. |
Remarks
In the description below, the number of points returned represents the number of valid entries on the return array of points that is passed to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]).