Package net.runelite.client.config
Class FontType
- java.lang.Object
-
- net.runelite.client.config.FontType
-
@ConfigSerializer(net.runelite.client.config.FontTypeSerializer.class) public class FontType extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFamily()FontgetFont()intgetSize()booleanisBold()booleanisItalic()FontTypewithBold(boolean bold)FontTypewithFamily(String family)FontTypewithFont(Font font)FontTypewithItalic(boolean italic)FontTypewithSize(int size)
-
-
-
Method Detail
-
getFont
public Font getFont()
-
getFamily
public String getFamily()
-
getSize
public int getSize()
-
isBold
public boolean isBold()
-
isItalic
public boolean isItalic()
-
withFamily
public FontType withFamily(String family)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSize
public FontType withSize(int size)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBold
public FontType withBold(boolean bold)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withItalic
public FontType withItalic(boolean italic)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-