| Modifier and Type | Method and Description |
|---|---|
| public short | Returns: super or subscript optionget the type of super or subscript for the font |
| public Color | |
| public short | |
| public int | Returns: fontheight (in points/20); or -1 if not modifiedgets the height of the font in 1/20th point units |
| public short | |
| public boolean | Returns: bold - whether the font is bold or notget whether the font weight is set to bold or not |
| public boolean | |
| public boolean | |
| public void | |
| public void | setEscapementType(short
super or subscript option escapementType)set the escapement type for the font |
| public void | |
| public void | |
| public void | setFontHeight(int
the height in twips (in points/20) height)Sets the height of the font in 1/20th point units |
| public void | setFontStyle(boolean
- if true, set posture style to italic, otherwise to normal italic, boolean if true, set font weight to bold, otherwise to normal bold)set font style options. |
| public void | setUnderlineType(short
super or subscript option underlineType)set the type of underlining type for the font |
| getEscapementType | back to summary |
|---|---|
| public short getEscapementType() get the type of super or subscript for the font
| |
| getFontColor | back to summary |
|---|---|
public Color getFontColor()
| |
| getFontColorIndex | back to summary |
|---|---|
public short getFontColorIndex()
| |
| getFontHeight | back to summary |
|---|---|
| public int getFontHeight() gets the height of the font in 1/20th point units
| |
| getUnderlineType | back to summary |
|---|---|
| public short getUnderlineType() get the type of underlining for the font
| |
| isBold | back to summary |
|---|---|
| public boolean isBold() get whether the font weight is set to bold or not
| |
| isItalic | back to summary |
|---|---|
public boolean isItalic()
| |
| isStruckout | back to summary |
|---|---|
public boolean isStruckout()
| |
| resetFontStyle | back to summary |
|---|---|
| public void resetFontStyle() set font style options to default values (non-italic, non-bold) | |
| setEscapementType | back to summary |
|---|---|
| public void setEscapementType(short escapementType) set the escapement type for the font
| |
| setFontColor | back to summary |
|---|---|
| public void setFontColor(Color color) Sets the colour to use
| |
| setFontColorIndex | back to summary |
|---|---|
| public void setFontColorIndex(short color) Sets the indexed colour to use
| |
| setFontHeight | back to summary |
|---|---|
| public void setFontHeight(int height) Sets the height of the font in 1/20th point units
| |
| setFontStyle | back to summary |
|---|---|
| public void setFontStyle(boolean italic, boolean bold) set font style options.
| |
| setUnderlineType | back to summary |
|---|---|
| public void setUnderlineType(short underlineType) set the type of underlining type for the font
| |