Font collects the typographic properties applied to JDance Text and other components. It can control size, weight, family, color, italics, underline, and line spacing.
For the complete API reference, visit https://doc.jdance.org.
A few font properties establish a visual hierarchy: a larger heading, a regular description, and an emphasized label.
The preview above uses a small amount of space so the behavior is visible even in a narrow documentation panel.
A Font can be copied and modified to create related text styles. This keeps typography consistent without repeating every setting.
Font size and line height influence how much room text needs. Bold and bright colors should highlight meaning rather than becoming the default for every label.
The same idea can also be expressed as a compact Java snippet without requiring a live preview.
Use fonts consistently across the interface. A small set of heading, body and supporting styles is usually clearer than individually styling every piece of text.
These examples focus on the day-to-day use of Font. The full API documentation contains additional options, inherited properties and complete method signatures.
Visit https://doc.jdance.org for the full reference.