Basics
Guides
API Reference
Basics
Guides
API Reference
[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.
FontFactory ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing FontFactory AussomJavaObject.
Ajo is an AussomJavaObject around a FontFactory.A new wrapper.newFont (double Size)
Returns a JavaFX Font at the given size from this factory.
Size is the font size in points.An AussomJavaObject around a javafx.scene.text.Font.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.