IFont
interface IFont
Known subtypes: GlyphFont
Package: dev.joid.lib.font · Module: core · Source: IFont.java
A font that JOID can draw, which names the text renderer that measures and draws it.
Description
Section titled “Description”MsdfFont and BitmapFont implement it, through GlyphFont; implement it yourself for a font that another renderer draws.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
ITextRenderer | getTextRenderer() abstract | Returns the ITextRenderer that measures and draws this font; every TextInfo with this font goes through it. |
Method details
Section titled “Method details”getTextRenderer
Section titled “getTextRenderer”ITextRenderer getTextRenderer() abstract
Returns the ITextRenderer that measures and draws this font; every TextInfo with this font goes through it.
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
