getFamily
getFamily: (FontType) -> stringThe family name.
FontType.REGULAR
FontType.BOLD
FontType.SMALL| Method | Returns | Description |
|---|---|---|
getFamily() | string | The family name. |
getSize() | number | The size. |
isBold() | boolean | Whether it is bold. |
isItalic() | boolean | Whether it is italic. |
getFont() | Font | The font it describes. |
withBold(boolean) | FontType | A copy, bold or not. |
withItalic(boolean) | FontType | A copy, italic or not. |
withSize(number) | FontType | A copy at size. |
withFamily(string) | FontType | A copy in family (any family name; getFamily answers it as given). |
| Method | Returns | Description |
|---|---|---|
ClientConfig.interfaceFont | FontType | The font for in-game interface overlays. |
getFamilygetFamily: (FontType) -> stringThe family name.
getSizegetSize: (FontType) -> numberThe size.
isBoldisBold: (FontType) -> booleanWhether it is bold.
isItalicisItalic: (FontType) -> booleanWhether it is italic.
getFontgetFont: (FontType) -> FontThe font it describes.
withBoldwithBold: (FontType, boolean) -> FontTypeA copy, bold or not.
withItalicwithItalic: (FontType, boolean) -> FontTypeA copy, italic or not.
withSizewithSize: (FontType, number) -> FontTypeA copy at size.
withFamilywithFamily: (FontType, string) -> FontTypeA copy in family (any family name; getFamily answers it as given).