Companion
object Companion
Functions
Link copied to clipboard
fun custom(file: ResourcePath, codePointGrid: CodePointGrid, glyphGrid: GlyphGrid<BufferedImage>, height: Int, ascent: Int): BitmapProvider<BufferedImage>
fun custom(file: ResourcePath, codePointGrid: CodePointGrid, glyphGrid: GlyphGrid<IntArray>, height: Int, ascent: Int): BitmapProvider<IntArray>
Creates a new immutable BitmapProvider with custom grids.
Link copied to clipboard
Creates a new immutable BitmapProvider that references another one, but with a different ascent.
Link copied to clipboard
fun single(file: ResourcePath, codePoint: Int, height: Int, ascent: Int): BitmapProvider<BufferedImage>
Creates an immutable BitmapProvider with a single glyph, assuming the texture will exist.
fun single(file: ResourcePath, texture: BufferedImage, codePoint: Int, height: Int, ascent: Int): BitmapProvider<BufferedImage>
Creates a new immutable BitmapProvider with a single glyph from a texture.