|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.FontFamily
public class FontFamily
Represents a font family.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
FontFamily(java.lang.String name,
Font font)
Initializes a new instance of the FontFamily class. |
|
FontFamily(java.lang.String name,
Font regular,
Font bold,
Font italic,
Font boldItalic)
Initializes a new instance of the FontFamily class. |
Method Summary | |
---|---|
Font |
getBold()
Gets the bold font. |
Font |
getBoldItalic()
Gets the bold italic font. |
static FontFamily |
getCourier()
Gets the core Courier font family. |
static FontFamily |
getHelvetica()
Gets the core Helvetica font family. |
Font |
getItalic()
Gets the italic font. |
java.lang.String |
getName()
Gets the name of the font family. |
Font |
getRegular()
Gets the regular font. |
static FontFamily |
getSymbol()
Gets the core Symbol font family. |
static FontFamily |
getTimes()
Gets the core Times font family. |
static FontFamily |
getZapfDingbats()
Gets the core ZapfDingbats font family. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontFamily(java.lang.String name, Font regular, Font bold, Font italic, Font boldItalic)
FontFamily
class.
name
- String name of font family.regular
- Font representing regular.bold
- Font representing bold.italic
- Font representing italic.boldItalic
- Font representing bold italic.Font
public FontFamily(java.lang.String name, Font font)
FontFamily
class.
name
- String name of font family.font
- Font representing all styles.Font
Method Detail |
---|
public java.lang.String getName()
public Font getRegular()
public Font getBold()
public Font getItalic()
public Font getBoldItalic()
public static FontFamily getCourier()
public static FontFamily getHelvetica()
public static FontFamily getTimes()
public static FontFamily getSymbol()
public static FontFamily getZapfDingbats()
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |