Bearbeiten

Freigeben über


SKPath.Iterator.Next Method

Definition

Overloads

Next(SKPoint[])
Next(Span<SKPoint>)
Next(SKPoint[], Boolean, Boolean)
Obsolete.

Returns the next verb in this iteration of the path.

Next(SKPoint[])

public SkiaSharp.SKPathVerb Next (SkiaSharp.SKPoint[] points);

Parameters

points
SKPoint[]

Returns

Applies to

Next(Span<SKPoint>)

public SkiaSharp.SKPathVerb Next (Span<SkiaSharp.SKPoint> points);

Parameters

points
Span<SKPoint>

Returns

Applies to

Next(SKPoint[], Boolean, Boolean)

Caution

Use Next(SKPoint[]) instead.

Returns the next verb in this iteration of the path.

public SkiaSharp.SKPathVerb Next (SkiaSharp.SKPoint[] points, bool doConsumeDegenerates = true, bool exact = false);
[System.Obsolete("Use Next(SKPoint[]) instead.")]
public SkiaSharp.SKPathVerb Next (SkiaSharp.SKPoint[] points, bool doConsumeDegenerates, bool exact);

Parameters

points
SKPoint[]

The storage for the points representing the current verb and/or segment. Should be an array of four points.

doConsumeDegenerates
Boolean

If true, first scan for segments that are deemed degenerate (too short) and skip those.

exact
Boolean

If doConsumeDegenerates is true and exact is true, skip only degenerate elements with lengths exactly equal to zero. If exact is false, skip degenerate elements with lengths close to zero. If doConsumeDegenerates is false, exact has no effect.

Returns

The verb of the current segment.

Attributes

Remarks

When all segments have been visited, returns Done.

Applies to