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[]).
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈