Modifier

Partager via


SKPathVerb Enum

Definition

Verbs contained in an SKPath.

public enum SKPathVerb
Inheritance
SKPathVerb

Fields

Name Value Description
Move 0

Move command, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return a single point.

Line 1

Line path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return two points.

Quad 2

Quad command, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return three points.

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.

Close 5

Close path, a call to Next(SKPoint[], Boolean, Boolean) or Next(SKPoint[]) will return one point (contour's MoveTo(SKPoint) point).

Done 6

The path is completed, points will not contain any data.

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