custom

@JvmName(name = "custom1")
fun custom(file: ResourcePath, codePointGrid: MutableCodePointGrid, glyphGrid: MutableGlyphGrid<IntArray>, height: Int, ascent: Int): MutableBitmapProvider<IntArray>

Creates a new mutable BitmapProvider with custom grids.

Parameters

file

The path where the texture will be saved to.

codePointGrid

The grid containing the code points.

glyphGrid

The grid containing the glyph images.

height

The height that glyphs will be rendered as. If this does not match the glyphs actual height, the glyphs will be scaled, keeping the aspect ratio. This is the height property in json.

ascent

The defined character ascent. This is the ascent property in json.