private static class FontTable.LegacyFontMetrics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private FontTable.LegacyFont |
font
The details about the legacy font.
|
private int |
height
The legacy height.
|
private int |
maxwidth
The legacy max width of this font.
|
private int |
width
The legacy width.
|
Constructor and Description |
---|
LegacyFontMetrics(FontTable.LegacyFont font,
int width,
int maxwidth,
int height)
Instantiate new metrics details.
|
private final FontTable.LegacyFont font
private final int width
private final int maxwidth
private final int height
public LegacyFontMetrics(FontTable.LegacyFont font, int width, int maxwidth, int height)
font
- The associated font.width
- The legacy width.maxwidth
- The legacy max width of this font.height
- The legacy height.