org.jfree.layouting.layouter.context
public class FontSpecification extends java.lang.Object
Constructor and Description |
---|
FontSpecification(LayoutStyle style) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontFamily() |
double |
getFontSize()
The requested font size.
|
int |
getFontWeight() |
boolean |
isAntiAliasing() |
boolean |
isItalic() |
boolean |
isOblique() |
boolean |
isSmallCaps() |
void |
setFontFamily(java.lang.String fontFamily)
Redefines the physical font family.
|
void |
setFontSize(double fontSize)
The font size is resolved once during the resolve cycle.
|
public FontSpecification(LayoutStyle style)
public double getFontSize()
public void setFontSize(double fontSize)
fontSize
- the font size as used during the rendering.public java.lang.String getFontFamily()
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- public int getFontWeight()
public boolean isItalic()
public boolean isOblique()
public boolean isSmallCaps()
public boolean isAntiAliasing()