BlockCursorSpec

data class BlockCursorSpec(val offset: Int, val alpha: Float = 1.0f)

A block cursor position to render as an overlay rectangle.

Parameters

offset

Document offset of the cursor position.

alpha

Opacity (0.0 to 1.0). Normal = 1.0, status pending = 0.5, overwrite = 0.2.

Constructors

Link copied to clipboard
constructor(offset: Int, alpha: Float = 1.0f)

Properties

Link copied to clipboard
Link copied to clipboard
val offset: Int