Class Fonts
java.lang.Object
com.realtime.crossfire.jxclient.gui.log.Fonts
Manage a set of fonts.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Fonts
public Fonts(@NotNull @NotNull Font fontPrint, @NotNull @NotNull Font fontFixed, @NotNull @NotNull Font fontFixedBold, @NotNull @NotNull Font fontArcane) Creates a new instance.- Parameters:
fontPrint- the font to use forFontID.PRINT,FontID.HAND, andFontID.STRANGEtextfontFixed- the font to use forFontID.FIXEDtextfontFixedBold- the font to use forFontID.FIXEDtext which has bold enabledfontArcane- the font to use forFontID.ARCANEtext
-
-
Method Details
-
getFont
Returns theFontto use for this text segment.- Parameters:
font- the font to returnbold- whether to return a bold face bold- Returns:
- the font
-