{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PathParserKt

public final class PathParserKt


Summary

Public methods

static final @NonNull Path
toPath(@NonNull List<@NonNull PathNode> receiver, @NonNull Path target)

Converts this list of PathNode into a Path by adding the appropriate commands to the target path.

Public methods

toPath

public static final @NonNull Path toPath(@NonNull List<@NonNull PathNode> receiver, @NonNull Path target)

Converts this list of PathNode into a Path by adding the appropriate commands to the target path. If target is not specified, a new Path instance is created. This method returns target or the newly created Path.