public static class FontManager.FontFace
extends java.lang.Object
FontFace
is an inner class defined for a Font Face object.
It holds face name and styles, includes bold and italic of a font.Constructor and Description |
---|
FontFace() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontFace()
Get font Face name.
|
boolean |
isBold()
Judge whether a font is bold or not.
|
boolean |
isItalic()
Judge whether a font is italic or not.
|
void |
setBold(boolean b)
set a bold font.
|
void |
setFontFace(java.lang.String face)
Set font face name.
|
void |
setItalic(boolean i)
Set a italic font.
|
public boolean isBold()
boolean
value that indicates whether the font
is bold or not.public void setBold(boolean b)
b
- A boolean
value that indicates whether a font
is bold or not.public boolean isItalic()
boolean
value that indicates whether the font
is italic or not.public void setItalic(boolean i)
i
- A boolean
value that indicates whether a font
is italic or not.public java.lang.String getFontFace()
public void setFontFace(java.lang.String face)
face
- The face name of font.