RichString

constructor(text: String, initialAttributes: AttributeContainer)

Creates a new RichString having the given initialAttributes applied to the entire text.


constructor(text: String, spans: List<RichSpan> = emptyList())