Constructors

Link copied to clipboard
constructor(text: String, annotation: AnnotatedString.Annotation)
constructor(text: String, font: Font? = null, foreground: Paint? = null, background: Paint? = null, decoration: TextDecoration? = null, stroke: Stroke? = null, selectable: Boolean = false, url: String? = null)

Types

Link copied to clipboard
class Annotation(font: Font? = null, foreground: Paint? = null, background: Paint? = null, decoration: TextDecoration? = null, stroke: Stroke? = null, selectable: Boolean = false, url: String? = null)

Annotation for a segment of AnnotatedString.

Properties

Link copied to clipboard
val count: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun iterator(): Iterator<Pair<String, AnnotatedString.Annotation>>
Link copied to clipboard
operator fun plus(other: AnnotatedString): AnnotatedString
operator fun plus(text: String): AnnotatedString
Link copied to clipboard
operator fun rangeTo(text: String): AnnotatedString
Link copied to clipboard
open override fun toString(): String