Skip to content

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.

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.

ReturnsSignatureSummary
voidload() staticLoads the nine weights and waits for them; JOID calls it once when it starts in dev mode.
TypeNameValueSummary
MsdfFontMONTSERRATThe loaded font, null outside dev mode.

void load() static

Loads the nine weights and waits for them; JOID calls it once when it starts in dev mode.

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

Report a problem with this page