AttributedString

Constructors

Link copied to clipboard
constructor(string: String, attributes: StringAttributeMap = emptyStringAttributes())

Types

Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard
data class Range(val start: Int, val endExclusive: Int) : Comparable<AttributedString.Range>

Properties

Link copied to clipboard
Link copied to clipboard
open override val length: Int
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <Attribute : StringAttribute<Value>, Value : Any> attribute(attribute: Attribute, at: Int): Value?
Link copied to clipboard
Link copied to clipboard
inline fun <Attribute : StringAttribute<Value>, Value : Any> enumerateAttribute(attribute: Attribute, crossinline block: (value: Value, range: AttributedString.Range) -> Unit)
Link copied to clipboard
fun enumerateComponents(block: (start: Int, end: Int, attributes: StringAttributeMap) -> Unit)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator override fun get(index: Int): Char
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String