BlockDecorationContext

data class BlockDecorationContext(val range: IntRange, val lineCount: Int, val modifier: Modifier)

Contextual layout information supplied to a BlockDecorator for decorating a block.

Constructors

Link copied to clipboard
constructor(lineCount: Int, modifier: Modifier)
constructor(range: IntRange, lineCount: Int, modifier: Modifier)

Properties

Link copied to clipboard

The number of lines contained in the block.

Link copied to clipboard

Base modifier sized and positioned for the block.

Link copied to clipboard

The character index range covering all paragraphs in this block.