Skip to main content

FontLoader

class FontLoader

is the class responsible for loading the font files.


public class FontLoader

— Methods (2) —

NameDescription
Font load(int resolution)Sets the resolution of the font to be "resolution" argument.
Font load(FontFile file, int resolution)Sets the font file of the font to be "file" argument, and the resolution to be "resolution" argument.