Package org.openrndr.svg

Functions

Link copied to clipboard
fun loadSVG(file: File): Composition

Load a Composition from a file, url or svg string

fun loadSVG(fileOrUrlOrSvg: String): Composition

Load a Composition from a filename, url or svg string

Link copied to clipboard
fun parseSVG(svgString: String): Composition

Parses an svg document and creates a Composition

Link copied to clipboard
fun Composition.saveToFile(file: File)
Link copied to clipboard
fun Composition.toSVG(): String
Link copied to clipboard
fun writeSVG(composition: Composition, topLevelId: String = "openrndr-svg"): String