Editar

Compartilhar via


SKPath.CreateIterator(Boolean) Method

Definition

Creates an iterator object to scan the all of the segments (lines, quadratics, cubics) of each contours in a path.

public SkiaSharp.SKPath.Iterator CreateIterator (bool forceClose);

Parameters

forceClose
Boolean

When this is true, each contour (as defined by a new starting move command) will be completed with a close verb regardless of the contour's contents.

Returns

Returns an object that can be used to iterate over the various elements of the path.

Remarks

This iterator is able to clean up the path as the values are returned. If you do not desire to get verbs that have been cleaned up, use the CreateRawIterator method instead.

Applies to