PathParser
Kotlin
|Java
class PathParser
kotlin.Any | |
↳ | androidx.compose.ui.graphics.vector.PathParser |
Summary
Public constructors | |
---|---|
<init>() |
Public methods | |
---|---|
PathParser |
addPathNodes(nodes: List<PathNode>) |
Unit |
clear() |
PathParser |
parsePathString(pathData: String) 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> |
toNodes() |
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