createPathFromPathData

@NonNull
open fun createPathFromPathData(@NonNull pathData: @NonNull String): @NonNull Path(source)

Takes a string representation of an SVG path and converts it to a Path.

Return

the generated Path object.

Parameters

pathData

The string representing a path, the same as "d" string in svg file.