set

open operator override fun set(x: Int, y: Int, value: BufferedImage?)

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.