public interface IGuiText<T>
UIComponent that uses text to be rendered on the MalisisGui.UIComponent should allow null MalisisFont and FontRenderOptions values so that they default to
GuiRenderer default values when rendered.GuiRenderer.getFont(IGuiText) and GuiRenderer.getFontRendererOptions(IGuiText) should be used
when needed instead of direct access.| Modifier and Type | Method and Description |
|---|---|
MalisisFont |
getFont()
Gets the
MalisisFont. |
FontRenderOptions |
getFontRendererOptions()
Gets the
FontRenderOptions. |
T |
setFont(MalisisFont font,
FontRenderOptions fro)
Sets the
MalisisFont and FontRenderOptions. |
MalisisFont getFont()
MalisisFont.FontRenderOptions getFontRendererOptions()
FontRenderOptions.T setFont(MalisisFont font, FontRenderOptions fro)
MalisisFont and FontRenderOptions.font - the new fontfro - the fro