public interface IFont
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBold()
Gets whether the font is bold.
|
Color |
getColor()
Gets or sets the
Color of the represented text. |
int |
getColorIndex()
Gets the color of the font.
|
boolean |
getItalic()
Gets whether the font style is italic.
|
java.lang.String |
getName()
Gets the name of the object.
|
double |
getSize()
Gets the size of the font.
|
boolean |
getStrikethrough()
Gets whether the font is struck through with a horizontal line.
|
boolean |
getSubscript()
Gets whether the font is formatted as subscript (False by default).
|
boolean |
getSuperscript()
Gets whether the font is formatted as superscript.
|
ThemeColor |
getThemeColor()
Gets the theme color in the applied color scheme that is associated with the
specified object.
|
ThemeFont |
getThemeFont()
Gets the theme font in the applied font scheme that is associated with the
specified object.
|
double |
getTintAndShade()
Gets a value that lightens or darkens a color.
|
UnderlineType |
getUnderline()
Gets the type of underline applied to the font.
|
void |
setBold(boolean value)
Sets whether the font is bold.
|
void |
setColor(Color value)
Sets the
Color of the represented text. |
void |
setColorIndex(int value)
Sets the color of the font.
|
void |
setItalic(boolean value)
Sets whether the font style is italic.
|
void |
setName(java.lang.String value)
Sets the name of the object.
|
void |
setSize(double value)
Sets the size of the font.
|
void |
setStrikethrough(boolean value)
Sets whether the font is struck through with a horizontal line.
|
void |
setSubscript(boolean value)
Sets whether the font is formatted as subscript (False by default).
|
void |
setSuperscript(boolean value)
Sets whether the font is formatted as superscript.
|
void |
setThemeColor(ThemeColor value)
Sets the theme color in the applied color scheme that is associated with the
specified object.
|
void |
setThemeFont(ThemeFont value)
Sets the theme font in the applied font scheme that is associated with the
specified object.
|
void |
setTintAndShade(double value)
Sets a value that lightens or darkens a color.
|
void |
setUnderline(UnderlineType value)
Sets the type of underline applied to the font.
|
boolean getBold()
void setBold(boolean value)
int getColorIndex()
void setColorIndex(int value)
boolean getItalic()
void setItalic(boolean value)
java.lang.String getName()
void setName(java.lang.String value)
double getSize()
void setSize(double value)
boolean getStrikethrough()
void setStrikethrough(boolean value)
boolean getSubscript()
void setSubscript(boolean value)
boolean getSuperscript()
void setSuperscript(boolean value)
ThemeColor getThemeColor()
void setThemeColor(ThemeColor value)
double getTintAndShade()
void setTintAndShade(double value)
UnderlineType getUnderline()
void setUnderline(UnderlineType value)
ThemeFont getThemeFont()
void setThemeFont(ThemeFont value)