Basics
Guides
API Reference
Basics
Guides
API Reference
[12:14] static extends: object
Wraps JavaFX Font, which specifies a text font by family, style, and size for use in text nodes and labeled controls. This static class provides methods to look up a font by name from the system font registry, or to load a custom font from a local file or a remote URL. All methods return a FxObj wrapping the underlying javafx.scene.text.Font instance.
get (string FontName, double FontSize)
Gets a font with the provided font name and size.
FontName is a string with the local font to get.FontSize is a double with the font size to use.A FxObj object with the font resource.load (string FileStr, double FontSize)
Gets a font with the provided URL string and size.
FileStr is a string with the file name where to get the font.FontSize is a double with the font size to use.A FxObj object with the font resource.loadUrl (string UrlStr, double FontSize)
Gets a font with the provided URL string and size.
UrlStr is a string with the URL where to get the font.FontSize is a double with the font size to use.A FxObj object with the font resource.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.