fromImage

fun fromImage(image: Image, key: Color, firstChar: Int): Font

Loads a font from an image.

Return

The loaded font.

Parameters

image

The image to load the font from.

key

The color key to use for transparency.

firstChar

The first character in the font (ASCII code).