TextDisplay

A handle to one persistent canvas through the legacy text grid API. Coordinates are zero-based.

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
fun writeAt(position: Position2i, text: String)

Writes at a grid position, rather than pixel coordinates.

fun writeAt(x: Int, y: Int, text: String)

Writes within one row of the screen's grid: 20 columns per block across and 10 rows per block down.