| Constructor and Description |
|---|
SimpleFontFace(Font font) |
SimpleFontFace(JasperReportsContext jasperReportsContext,
String file) |
SimpleFontFace(String file) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFile()
Returns the TTF file, if the font face has specified one (the font face does not specify a TTF file in case it maps
a JVM available font such as a Java logical font or a system font).
|
Font |
getFont()
Returns a non-null instance of java.awt.Font representing the font face.
|
static SimpleFontFace |
getInstance(JasperReportsContext jasperReportsContext,
String fontName) |
String |
getName()
Returns the non-null name of the font face.
|
public SimpleFontFace(JasperReportsContext jasperReportsContext, String file)
public SimpleFontFace(String file)
public SimpleFontFace(Font font)
public static SimpleFontFace getInstance(JasperReportsContext jasperReportsContext, String fontName)
public String getName()
FontFacepublic String getFile()
FontFaceCopyright © 2012. All Rights Reserved.