private static class FontTable.LegacyFont
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
bold
Flag indicating if the font style is bold.
|
private boolean |
italic
Flag indicating if the font style is italic.
|
private java.lang.String |
name
The font name.
|
private int |
size
The font point size.
|
private boolean |
underline
Flag indicating if the font style is underline.
|
Constructor and Description |
---|
LegacyFont(java.lang.String name,
int size,
boolean bold,
boolean italic,
boolean underline)
Create a new font with the specified details.
|
private final java.lang.String name
private final int size
private final boolean bold
private final boolean italic
private final boolean underline
public LegacyFont(java.lang.String name, int size, boolean bold, boolean italic, boolean underline)
name
- The font name.size
- The font point size.bold
- Flag indicating if the font style is bold.italic
- Flag indicating if the font style is italic.underline
- Flag indicating if the font style is underline.