Package com.jogamp.graph.font
Interface FontSet
-
public interface FontSet
-
-
Field Summary
Fields Modifier and Type Field Description static int
FAMILY_CONDENSED
Font family CONDENSED, 3static int
FAMILY_LIGHT
Font family LIGHT, 1static int
FAMILY_MEDIUM
Font family MEDIUM, 2static int
FAMILY_MONOSPACED
Font family MONO, 4static int
FAMILY_REGULAR
Font family REGULAR, 0static int
STYLE_BOLD
BOLD style bit flag, 4static int
STYLE_ITALIC
ITALIC style bit flag, 8static int
STYLE_NONE
Zero style, 0static int
STYLE_SERIF
SERIF style/family bit flag.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Font
get(int family, int stylebits)
Font
getDefault()
-
-
-
Field Detail
-
FAMILY_REGULAR
static final int FAMILY_REGULAR
Font family REGULAR, 0- See Also:
- Constant Field Values
-
FAMILY_LIGHT
static final int FAMILY_LIGHT
Font family LIGHT, 1- See Also:
- Constant Field Values
-
FAMILY_MEDIUM
static final int FAMILY_MEDIUM
Font family MEDIUM, 2- See Also:
- Constant Field Values
-
FAMILY_CONDENSED
static final int FAMILY_CONDENSED
Font family CONDENSED, 3- See Also:
- Constant Field Values
-
FAMILY_MONOSPACED
static final int FAMILY_MONOSPACED
Font family MONO, 4- See Also:
- Constant Field Values
-
STYLE_NONE
static final int STYLE_NONE
Zero style, 0- See Also:
- Constant Field Values
-
STYLE_SERIF
static final int STYLE_SERIF
SERIF style/family bit flag. Fallback to Sans Serif, 2- See Also:
- Constant Field Values
-
STYLE_BOLD
static final int STYLE_BOLD
BOLD style bit flag, 4- See Also:
- Constant Field Values
-
STYLE_ITALIC
static final int STYLE_ITALIC
ITALIC style bit flag, 8- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefault
Font getDefault() throws IOException
- Throws:
IOException
-
get
Font get(int family, int stylebits) throws IOException
- Throws:
IOException
-
-