TextRun

data class TextRun(val text: String, val style: CharacterStyle = CharacterStyle.PLAIN)(source)

A contiguous run of text sharing a single CharacterStyle.

Constructors

Link copied to clipboard
constructor(text: String, style: CharacterStyle = CharacterStyle.PLAIN)

Properties

Link copied to clipboard
Link copied to clipboard