public final class IFState extends Object
Modifier and Type | Method and Description |
---|---|
static IFState |
create() |
String |
getFontFamily()
Returns the font family.
|
int |
getFontSize()
Returns the font size.
|
String |
getFontStyle()
Returns the font style.
|
String |
getFontVariant()
Returns the font variant.
|
int |
getFontWeight()
Returns the font weight.
|
Color |
getTextColor()
Returns the text color.
|
boolean |
isFontChanged() |
IFState |
pop() |
IFState |
push() |
void |
resetFontChanged()
reset font changed
|
void |
setFontFamily(String family)
Sets the font family.
|
void |
setFontSize(int size)
Sets the font size.
|
void |
setFontStyle(String style)
Set the font style
|
void |
setFontVariant(String variant)
Sets the font variant.
|
void |
setFontWeight(int weight)
Sets the font weight
|
void |
setTextColor(Color color)
Sets the text color.
|
public static IFState create()
public IFState push()
public IFState pop()
public boolean isFontChanged()
public void resetFontChanged()
public String getFontFamily()
public void setFontFamily(String family)
family
- the new font familypublic int getFontSize()
public void setFontSize(int size)
size
- the new font size (in mpt)public String getFontStyle()
public void setFontStyle(String style)
style
- the new font stylepublic int getFontWeight()
public void setFontWeight(int weight)
weight
- the new font weightpublic String getFontVariant()
public void setFontVariant(String variant)
variant
- the new font variantpublic Color getTextColor()
public void setTextColor(Color color)
color
- the new text colorCopyright © 2025 Apache Software Foundation. All rights reserved.