BitmapFontBuilderFromCanvas

The internal workhorse behind createBitmapFont.

Constructors

Link copied to clipboard
constructor(identifier: FontIdentifier)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun includeGlyphs(chars: Set<Char>)

Choose which characters to include in the final bitmap. You can call this multiple times. If this is not called, then a default of 32..255 is used.

Link copied to clipboard
open override fun maxTextureWidth(value: Int)

If you don't specify a maxTextureWidth, then a heuristic will choose a reasonable value based on the font size. So you can safely ignore this!

Link copied to clipboard
open override fun padding(x: Int, y: Int)

Adds additional padding around each glyph. This is useful if you want to create an outlined font.