file: FontFactory.aus

class: FontFactory

[16:7] extends: FxObj

Wraps FXGL's FontFactory, a builder that returns a JavaFX Font at a requested size. UIFactoryService holds one FontFactory per FontType (UI, MONO, TEXT, GAME) that game code reads through newFont(size). Aussom users normally do not construct a FontFactory directly; the wrapper exists for users that hold one through AJI.

Methods