decorate
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.
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.