text

fun text(block: TextBuilder.() -> Unit)

Adds a <text> child element to the SVG element.

Parameters

block

A lambda to configure the <text> element.