Lines

class Lines(val lines: List<Line>)

A lines, where each line is a list of Spans.

Linebreaks are implicit between lines. There is no trailing line break. Lines can be empty.

Constructors

Link copied to clipboard
constructor(lines: List<Line>)

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
Link copied to clipboard

Create a copy of these lines with any existing styles replaced with style

Link copied to clipboard
fun withStyle(style: TextStyle?): Lines

Create a copy of these lines with style combined with any existing style