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

PathParser

public final class PathParser


Summary

Public constructors

Public methods

final @NonNull PathParser
final void
final @NonNull PathParser

Parses the path string to create a collection of PathNode instances with their corresponding arguments

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

Public constructors

PathParser

public PathParser()

Public methods

addPathNodes

public final @NonNull PathParser addPathNodes(@NonNull List<@NonNull PathNode> nodes)

clear

public final void clear()

parsePathString

public final @NonNull PathParser parsePathString(@NonNull String pathData)

Parses the path string to create a collection of PathNode instances with their corresponding arguments

toNodes

public final @NonNull List<@NonNull PathNodetoNodes()

toPath

public final @NonNull Path toPath(@NonNull Path target)