DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class FontFamily

java.lang.Object
  extended by com.cete.dynamicpdf.FontFamily

public class FontFamily
extends java.lang.Object

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

FontFamily

public FontFamily(java.lang.String name,
                  Font regular,
                  Font bold,
                  Font italic,
                  Font boldItalic)
Initializes a new instance of the FontFamily class.

Parameters:
name - String name of font family.
regular - Font representing regular.
bold - Font representing bold.
italic - Font representing italic.
boldItalic - Font representing bold italic.
See Also:
Font

FontFamily

public FontFamily(java.lang.String name,
                  Font font)
Initializes a new instance of the FontFamily class.

Parameters:
name - String name of font family.
font - Font representing all styles.
See Also:
Font
Method Detail

getName

public java.lang.String getName()
Gets the name of the font family.

Returns:
String name of the font family.

getRegular

public Font getRegular()
Gets the regular font.

Returns:
Font regular font.

getBold

public Font getBold()
Gets the bold font.

Returns:
Font bold font.

getItalic

public Font getItalic()
Gets the italic font.

Returns:
Font italic font.

getBoldItalic

public Font getBoldItalic()
Gets the bold italic font.

Returns:
Font bold italic font.

getCourier

public static FontFamily getCourier()
Gets the core Courier font family.

Returns:
FontFamily core Courier font family.

getHelvetica

public static FontFamily getHelvetica()
Gets the core Helvetica font family.

Returns:
FontFamily core Helvetica font family.

getTimes

public static FontFamily getTimes()
Gets the core Times font family.

Returns:
FontFamily core Times font family.

getSymbol

public static FontFamily getSymbol()
Gets the core Symbol font family.

Returns:
FontFamily core Symbol font family.

getZapfDingbats

public static FontFamily getZapfDingbats()
Gets the core ZapfDingbats font family.

Returns:
FontFamily core ZapfDingbats font family.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software