Package-level declarations

Types

Link copied to clipboard
class InlineCollapse(val text: InlineContent, val placeholder: InlineContent, val isOpen: Boolean) : TextNode

A collapsible block, whose content can be hidden or shown by interacting with it.

Link copied to clipboard
class MathSpan(val expression: String) : Node

A math (TeX) inline.

Link copied to clipboard
class PageCounter(val target: PageCounter.Target) : Node

A counter for the current or total page number. In case the current document type does not support page counting (e.g. plain document), a placeholder is used at rendering time.

Link copied to clipboard
class TextSymbol(symbol: Char) : PlainTextNode

A text-based symbol, such as ©, , . This is usually the result of a combination of multiple characters (e.g. (C) ->©).

Link copied to clipboard
class TextTransform(val data: TextTransformData, val children: List<Node>) : NestableNode

A portion of text with a specific visual transformation.

Link copied to clipboard
class TextTransformData(val size: TextTransformData.Size? = null, val weight: TextTransformData.Weight? = null, val style: TextTransformData.Style? = null, val decoration: TextTransformData.Decoration? = null, val case: TextTransformData.Case? = null, val variant: TextTransformData.Variant? = null, val color: Color? = null)

Text transformation a portion of text can undergo. If a property is set to null it is not specified, hence ignored and the default value is used.

Link copied to clipboard
class Whitespace(val width: Size?, val height: Size?) : Node

An empty square that adds whitespace to the layout. If both width and height are null, the whitespace consists of a blank space.