Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun decorate(linkAnnotation: LinkAnnotation, start: Int, end: Int, text: AnnotatedString, builder: AnnotatedString.Builder): LinkAnnotation

Can be used for removing any existing text link styles from text so that they can be drawn manually.

abstract fun decorate(span: SpanStyle, start: Int, end: Int, text: AnnotatedString, builder: AnnotatedString.Builder): SpanStyle

Can be used for removing any existing spans from text so that they can be drawn manually.

Link copied to clipboard
abstract fun drawInstructionsFor(layoutResult: TextLayoutResult, color: Color? = null): SpanDrawInstructions