getCodepointAt

abstract fun getCodepointAt(col: Int, row: Int): Int

Returns the display/base codepoint at [col, row].

  • Plain cells return their stored Unicode scalar value.

  • Cluster cells return the leading codepoint of the grapheme sequence.

  • Wide-character spacer cells return -1.

  • Blank cells and out-of-bounds probes return 0.

Return

The codepoint at the specified coordinate, or a sentinel/spacer value.

Parameters

col

Column index (0-based).

row

Row index (0-based).