CodePointGrid

sealed interface CodePointGrid

Represents a grid of code points.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val height: Int

The height of this grid, i.e. the number of rows.

Link copied to clipboard
abstract val width: Int

The width of this grid, i.e. the number of columns.

Functions

Link copied to clipboard
abstract operator fun get(x: Int, y: Int): Int

Gets the code point at the specified x and y coordinates.

Link copied to clipboard
abstract fun getCodePoints(): IntSet

Creates an IntSet of all code points in the grid, excluding 0 (null character).

Link copied to clipboard
abstract fun toStringList(): List<String>

Creates a list of strings representing the rows of this grid.