kyrie / com.github.alexjlockwood.kyrie / PathData / toPath

toPath

@JvmStatic fun toPath(pathData: String): Path

Constructs a Path from the provided PathData object.

Parameters

pathData - The SVG path data string to convert.

Return
A Path represented by the provided SVG path data string.

@JvmStatic fun toPath(pathData: PathData): Path

Constructs a Path from the provided PathData object.

Parameters

pathData - The PathData object to convert.

Return
A Path represented by the provided PathData object.

@JvmStatic fun toPath(pathData: PathData, outPath: Path): Unit

Initializes a Path from the provided PathData object.

Parameters

pathData - The PathData object to convert.

outPath - The Path to write to.