ksvg / com.github.nwillc.ksvg.elements / TEXT

TEXT

(JS, JVM) class TEXT : Element, HasOrigin, HasFill

An SVG text element.

Constructors

(JS, JVM)

<init>

An SVG text element.

<init>(validation: Boolean = false, hasAttributes: HasAttributes = HasAttributesImpl(validation))

Properties

(JS, JVM)

fontFamily

The font family.

var fontFamily: String?
(JS, JVM)

fontSize

The font size attributes.

var fontSize: String?

Inherited Functions

render

Render the Element as SVG.

(JS) open fun render(appendable: <ERROR CLASS>, renderMode: RenderMode): Unit
(JVM) open fun render(appendable: Appendable, renderMode: RenderMode): Unit