Class DefaultFontSpecification
java.lang.Object
org.pentaho.reporting.libraries.fonts.text.DefaultFontSpecification
- All Implemented Interfaces:
FontSpecification
Creation-Date: 04.04.2007, 14:03:19
- Author:
- Thomas Morgner
-
Constructor Summary
ConstructorDescriptionDefaultFontSpecification
(String fontFamily, double fontSize, int fontWeight, boolean italic, boolean oblique, boolean smallCaps, boolean antiAliasing, String encoding, boolean embedFontData) -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
boolean
boolean
boolean
isItalic()
boolean
boolean
void
setAntiAliasing
(boolean antiAliasing) void
setEmbedFontData
(boolean embedFontData) void
setEncoding
(String encoding) void
setFontFamily
(String fontFamily) void
setFontSize
(double fontSize) void
setFontWeight
(int fontWeight) void
setItalic
(boolean italic) void
setOblique
(boolean oblique) void
setSmallCaps
(boolean smallCaps)
-
Constructor Details
-
DefaultFontSpecification
public DefaultFontSpecification() -
DefaultFontSpecification
-
-
Method Details
-
getFontFamily
- Specified by:
getFontFamily
in interfaceFontSpecification
-
setFontFamily
-
isAntiAliasing
public boolean isAntiAliasing()- Specified by:
isAntiAliasing
in interfaceFontSpecification
-
setAntiAliasing
public void setAntiAliasing(boolean antiAliasing) -
isSmallCaps
public boolean isSmallCaps()- Specified by:
isSmallCaps
in interfaceFontSpecification
-
setSmallCaps
public void setSmallCaps(boolean smallCaps) -
isItalic
public boolean isItalic()- Specified by:
isItalic
in interfaceFontSpecification
-
setItalic
public void setItalic(boolean italic) -
isOblique
public boolean isOblique()- Specified by:
isOblique
in interfaceFontSpecification
-
setOblique
public void setOblique(boolean oblique) -
getFontWeight
public int getFontWeight()- Specified by:
getFontWeight
in interfaceFontSpecification
-
setFontWeight
public void setFontWeight(int fontWeight) -
getFontSize
public double getFontSize()- Specified by:
getFontSize
in interfaceFontSpecification
-
setFontSize
public void setFontSize(double fontSize) -
getEncoding
- Specified by:
getEncoding
in interfaceFontSpecification
-
setEncoding
-
isEmbedFontData
public boolean isEmbedFontData()- Specified by:
isEmbedFontData
in interfaceFontSpecification
-
setEmbedFontData
public void setEmbedFontData(boolean embedFontData)
-