Companion

object Companion

Functions

Link copied to clipboard
fun default(): Font

Gets the default font.

Link copied to clipboard
fun fromImage(image: Image, key: Color, firstChar: Int): Font

Loads a font from an image.

Link copied to clipboard
fun load(path: String): Font

Loads a font from the specified path.

fun load(file: File): Font

Loads a font from the specified file.