PathParser

class PathParser
kotlin.Any
   ↳ androidx.ui.graphics.vector.PathParser

Summary

Public constructors

Public methods

PathParser

Unit

PathParser

Parses the path string to create a collection of PathNode instances with their corresponding arguments throws an IllegalArgumentException or NumberFormatException if the parameters are invalid

List<PathNode>

Path
toPath(target: Path = Path())

Public constructors

<init>

PathParser()

Public methods

addPathNodes

fun addPathNodes(nodes: List<PathNode>): PathParser

clear

fun clear(): Unit

parsePathString

fun parsePathString(pathData: String): PathParser

Parses the path string to create a collection of PathNode instances with their corresponding arguments throws an IllegalArgumentException or NumberFormatException if the parameters are invalid

toNodes

fun toNodes(): List<PathNode>

toPath

fun toPath(target: Path = Path()): Path