StrikethroughBuilder
Interface for builders that support strikethrough text annotations.
Implementations can add strikethrough formatting either by specifying ranges with addStrikethrough, or by using the push/pop pattern with pushStrikethrough and pop. For most use cases, prefer using the withStrikethrough DSL helper.
Inheritors
Functions
Link copied to clipboard
Adds strikethrough formatting to a specific range of text.
Link copied to clipboard
Ends the style or annotation that was added via a push operation before.
Ends the styles or annotation up to and including the StrongBuilder.pushStrong or LinkBuilder.pushLink that returned the given index.
Link copied to clipboard
Applies strikethrough style to any appended text until a corresponding pop is called.
Link copied to clipboard
inline fun <R : Any> OudsAnnotatedString.StrikethroughBuilder.withStrikethrough(block: OudsAnnotatedString.StrikethroughBuilder.() -> R): R
DSL helper for applying strikethrough formatting to a block of text.