tock / ai.tock.shared / SvgGenerator

SvgGenerator

abstract class SvgGenerator<T : Any> (source)

Generates an image from a svg file.

Constructors

<init>

Generates an image from a svg file.

SvgGenerator(resourceName: String, resourcePath: String = "/generation/")

Functions

applyParamsToDocument

abstract fun applyParamsToDocument(doc: Document, params: T): Unit

generate

fun generate(params: T): Document