public class Fonts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.awt.Font |
fontArcane
The font to use for
FontID.ARCANE text. |
private java.awt.Font |
fontFixed
The font to use for
FontID.FIXED text. |
private java.awt.Font |
fontFixedBold
The font to use for
FontID.FIXED text which has bold enabled. |
private java.awt.Font |
fontPrint
|
Constructor and Description |
---|
Fonts(java.awt.Font fontPrint,
java.awt.Font fontFixed,
java.awt.Font fontFixedBold,
java.awt.Font fontArcane)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Font |
getFontArcane()
Returns the font to use for
FontID.ARCANE text. |
java.awt.Font |
getFontFixed()
Returns the font to use for
FontID.FIXED text. |
java.awt.Font |
getFontFixedBold()
Returns the font to use for
FontID.FIXED text which has bold
enabled. |
java.awt.Font |
getFontPrint()
|
@NotNull private final java.awt.Font fontArcane
FontID.ARCANE
text.@NotNull private final java.awt.Font fontFixed
FontID.FIXED
text.@NotNull private final java.awt.Font fontFixedBold
FontID.FIXED
text which has bold enabled.@NotNull private final java.awt.Font fontPrint
public Fonts(@NotNull java.awt.Font fontPrint, @NotNull java.awt.Font fontFixed, @NotNull java.awt.Font fontFixedBold, @NotNull java.awt.Font fontArcane)
fontPrint
- the font to use for FontID.PRINT
, FontID.HAND
, and FontID.STRANGE
textfontFixed
- the font to use for FontID.FIXED
textfontFixedBold
- the font to use for FontID.FIXED
text which
has bold enabledfontArcane
- the font to use for FontID.ARCANE
text@NotNull public java.awt.Font getFontArcane()
FontID.ARCANE
text.@NotNull public java.awt.Font getFontFixed()
FontID.FIXED
text.@NotNull public java.awt.Font getFontFixedBold()
FontID.FIXED
text which has bold
enabled.@NotNull public java.awt.Font getFontPrint()