OutputTransformationAnnotationScope


Summary

Public functions

Unit
addStyle(paragraphStyle: ParagraphStyle, start: Int, end: Int)

Adds the given paragraphStyle to the text range between start (inclusive) and end (exclusive).

Cmn
Unit
addStyle(spanStyle: SpanStyle, start: Int, end: Int)

Adds the given spanStyle to the text range between start (inclusive) and end (exclusive).

Cmn

Public properties

CharSequence

The text content of the buffer after OutputTransformation.transformOutput is called.

Cmn

Public functions

addStyle

fun addStyle(paragraphStyle: ParagraphStyle, start: Int, end: Int): Unit

Adds the given paragraphStyle to the text range between start (inclusive) and end (exclusive).

addStyle

fun addStyle(spanStyle: SpanStyle, start: Int, end: Int): Unit

Adds the given spanStyle to the text range between start (inclusive) and end (exclusive).

Public properties

text

val textCharSequence

The text content of the buffer after OutputTransformation.transformOutput is called.