Skip to content

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.

MsdfFont and BitmapFont implement it, through GlyphFont; implement it yourself for a font that another renderer draws.

ReturnsSignatureSummary
ITextRenderergetTextRenderer() abstractReturns the ITextRenderer that measures and draws this font; every TextInfo with this font goes through it.

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

Report a problem with this page