Item

data class Item<T>
kotlin.Any
   ↳ androidx.ui.text.AnnotatedString.Item

The information attached on the text such as a TextStyle.

Summary

Public constructors

<init>(style: T, start: Int, end: Int)

The information attached on the text such as a TextStyle.

Properties

Int

The end of the range where style takes effect.

Int

The start of the range where style takes effect.

T

The style being applied on this part of AnnotatedString

Public constructors

<init>

Item(
    style: T,
    start: Int,
    end: Int)

The information attached on the text such as a TextStyle.

Parameters
style: T The style being applied on this part of AnnotatedString
start: Int The start of the range where style takes effect. It's inclusive
end: Int The end of the range where style takes effect. It's exclusive

Properties

end

val end: Int

The end of the range where style takes effect. It's exclusive

start

val start: Int

The start of the range where style takes effect. It's inclusive

style

val style: T

The style being applied on this part of AnnotatedString