Companion
object Companion
Functions
Link copied to clipboard
fun create(file: ResourcePath, glyphWidth: Int, glyphHeight: Int, height: Int, ascent: Int): MutableBitmapProvider<BufferedImage>
Creates a new mutable BitmapProvider without any glyphs.
Link copied to clipboard
fun custom(file: ResourcePath, codePointGrid: MutableCodePointGrid, glyphGrid: MutableGlyphGrid<BufferedImage>, height: Int, ascent: Int): MutableBitmapProvider<BufferedImage>
fun custom(file: ResourcePath, codePointGrid: MutableCodePointGrid, glyphGrid: MutableGlyphGrid<IntArray>, height: Int, ascent: Int): MutableBitmapProvider<IntArray>
Creates a new mutable BitmapProvider with custom grids.
Link copied to clipboard
Reads a BitmapProvider from disk.
Link copied to clipboard
fun single(file: ResourcePath, texture: BufferedImage, codePoint: Int, height: Int, ascent: Int): MutableBitmapProvider<BufferedImage>
Creates a new BitmapProvider with a single glyph from a texture.