org.jmol.g3d
public final class Font3D extends Object
Provides font support using a byte fid (Font ID) as an index into font table.
Supports standard font faces, font styles, and font sizes.
| Field Summary | |
|---|---|
| byte | fid |
| Font | font |
| static Font3D[] | font3ds |
| String | fontFace |
| static String[] | fontFaces |
| static int | fontkeyCount |
| static int[] | fontkeys |
| FontMetrics | fontMetrics |
| float | fontSize |
| float | fontSizeNominal |
| String | fontStyle |
| static String[] | fontStyles |
| static int | FONT_ALLOCATION_UNIT |
| static int | FONT_FACE_MONO |
| static int | FONT_FACE_SANS |
| static int | FONT_FACE_SERIF |
| static int | FONT_STYLE_BOLD |
| static int | FONT_STYLE_BOLDITALIC |
| static int | FONT_STYLE_ITALIC |
| static int | FONT_STYLE_PLAIN |
| static Graphics | graphicsOffscreen |
| int | idFontFace |
| int | idFontStyle |
| Constructor Summary | |
|---|---|
| Font3D(byte fid, int idFontFace, int idFontStyle, float fontSize, float fontSizeNominal, Font font, FontMetrics fontMetrics) | |
| Method Summary | |
|---|---|
| static Font3D | allocFont3D(int fontkey, int fontface, int fontstyle, float fontsize, float fontsizeNominal) |
| static Font3D | getFont3D(int fontface, int fontstyle, float fontsize, float fontsizeNominal, Platform3D platform) |
| static Font3D | getFont3D(byte fontID) |
| static int | getFontFaceID(String fontface) |
| static Hashtable | getFontMap(String fontFace, int idFontStyle, float fontSize) |
| static int | getFontStyleID(String fontstyle) |
| static void | initialize(Platform3D platform) |