OrderedListItem

data class OrderedListItem(val textIndex: Int, val indentLevel: ListIndentLevel, val color: RgbaColor?, val index: Int) : ListItem

Represents an ordered list item (e.g., 1. 2. 3.).

Constructors

Link copied to clipboard
constructor(textIndex: Int, indentLevel: ListIndentLevel, color: RgbaColor?, index: Int)

Properties

Link copied to clipboard
open override val color: RgbaColor?

The text color applied to this list item, extracted from TextColorKey.

Link copied to clipboard
open override val indentLevel: ListIndentLevel

The indentation level of this list item.

Link copied to clipboard
val index: Int

The 1-based index number for this item in the ordered list.

Link copied to clipboard
open override val textIndex: Int

The character index of the start of the paragraph that forms this list item.