GlyphGrid

sealed interface GlyphGrid<T>

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val glyphHeight: Int

The height of each glyph

Link copied to clipboard
abstract val glyphWidth: Int

The width of each glyph.

Link copied to clipboard
abstract val gridHeight: Int

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

Link copied to clipboard
abstract val gridWidth: Int

The width of this grid, i.e. the number of columns or the number of glyphs per row.

Functions

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

Gets the glyph at the specified x and y coordinates.

Link copied to clipboard
abstract fun toImage(): BufferedImage

Creates a BufferedImage of this grid.