set

abstract operator fun set(x: Int, y: Int, value: T?)

Sets the glyph at the specified x and y coordinates, or removes it if value is null.

If the coordinates are out of bounds, the grid will be resized to fit the coordinates.