TextTransform

class TextTransform(val data: TextTransformData, val className: String? = null, val children: List<Node>) : NestableNode

A portion of text with a specific visual transformation.

Parameters

data

transformation the text undergoes

className

custom class name for the element, useful for applying custom styles, if supported by the renderer

Constructors

Link copied to clipboard
constructor(data: TextTransformData, className: String? = null, children: List<Node>)

Properties

Link copied to clipboard
open override val children: List<Node>
Link copied to clipboard
val className: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.

Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard