MutableCodePointGrid

Represents a mutable grid of code points.

Inheritors

Properties

Link copied to clipboard
abstract override var height: Int

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

Link copied to clipboard
abstract override var 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 operator fun set(x: Int, y: Int, value: Int)

Sets the code point at the specified x and y coordinates and resizes the grid if necessary.

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

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