Package com.jogamp.graph.font
Interface FontSet
-
public interface FontSet
-
-
Field Summary
Fields Modifier and Type Field Description static intFAMILY_CONDENSEDFont family CONDENSED, 3static intFAMILY_LIGHTFont family LIGHT, 1static intFAMILY_MEDIUMFont family MEDIUM, 2static intFAMILY_MONOSPACEDFont family MONO, 4static intFAMILY_REGULARFont family REGULAR, 0static intSTYLE_BOLDBOLD style bit flag, 4static intSTYLE_ITALICITALIC style bit flag, 8static intSTYLE_NONEZero style, 0static intSTYLE_SERIFSERIF style/family bit flag.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fontget(int family, int stylebits)FontgetDefault()
-
-
-
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
-
-