FontType

Methods
9
Fields
3

Getting one

FontType.REGULAR
FontType.BOLD
FontType.SMALL

Methods

MethodReturnsDescription
getFamily()stringThe family name.
getSize()numberThe size.
isBold()booleanWhether it is bold.
isItalic()booleanWhether it is italic.
getFont()FontThe font it describes.
withBold(boolean)FontTypeA copy, bold or not.
withItalic(boolean)FontTypeA copy, italic or not.
withSize(number)FontTypeA copy at size.
withFamily(string)FontTypeA copy in family (any family name; getFamily answers it as given).

Fields

FieldTypeDescription
REGULARFontTypeFontType.REGULAR: RuneScape, 16.
BOLDFontTypeFontType.BOLD: RuneScape bold, 16.
SMALLFontTypeFontType.SMALL: RuneScape Small, 16.

Returned by

MethodReturnsDescription
ClientConfig.interfaceFontFontTypeThe font for in-game interface overlays.

Method details