DevFont
final class DevFont
Package: dev.joid.internal.font · Module: core · Source: DevFont.java
The font of the dev tools, Montserrat in its nine weights, loaded at startup in dev mode only.
Description
Section titled “Description”The inspector draws with it. It is not in the prod jar, and JOID ships no production font: load a font of your own for your text.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | load() static | Loads the nine weights and waits for them; JOID calls it once when it starts in dev mode. |
Constants and fields
Section titled “Constants and fields”| Type | Name | Value | Summary |
|---|---|---|---|
MsdfFont | MONTSERRAT | The loaded font, null outside dev mode. |
Method details
Section titled “Method details”void load() static
Loads the nine weights and waits for them; JOID calls it once when it starts in dev mode.
Constant and field details
Section titled “Constant and field details”MONTSERRAT
Section titled “MONTSERRAT”MsdfFont MONTSERRAT static
The loaded font, null outside dev mode.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
