|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.gvt.font.AWTFontFamily
public class AWTFontFamily
A font family class for AWT fonts.
| Field Summary | |
|---|---|
protected Font |
font
|
protected GVTFontFace |
fontFace
|
static AttributedCharacterIterator.Attribute |
TEXT_COMPOUND_DELIMITER
|
| Constructor Summary | |
|---|---|
AWTFontFamily(GVTFontFace fontFace)
Constructs an AWTFontFamily with the specified familyName. |
|
AWTFontFamily(GVTFontFace fontFace,
Font font)
Constructs an AWTFontFamily with the specified familyName. |
|
AWTFontFamily(String familyName)
Constructs an AWTFontFamily with the specified familyName. |
|
| Method Summary | |
|---|---|
GVTFont |
deriveFont(float size,
AttributedCharacterIterator aci)
Derives a GVTFont object of the correct size. |
GVTFont |
deriveFont(float size,
Map attrs)
Derives a GVTFont object of the correct size from an attribute Map. |
String |
getFamilyName()
Returns the font family name. |
GVTFontFace |
getFontFace()
Returns the font-face information for this font family. |
boolean |
isComplex()
This method returns true iff the font is a complex SVG font |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AttributedCharacterIterator.Attribute TEXT_COMPOUND_DELIMITER
protected GVTFontFace fontFace
protected Font font
| Constructor Detail |
|---|
public AWTFontFamily(GVTFontFace fontFace)
fontFace - The name of the font family.public AWTFontFamily(String familyName)
familyName - The name of the font family.
public AWTFontFamily(GVTFontFace fontFace,
Font font)
fontFace - The name of the font family.| Method Detail |
|---|
public String getFamilyName()
getFamilyName in interface GVTFontFamilypublic GVTFontFace getFontFace()
getFontFace in interface GVTFontFamily
public GVTFont deriveFont(float size,
AttributedCharacterIterator aci)
deriveFont in interface GVTFontFamilysize - The required size of the derived font.aci - The character iterator that will be rendered using
the derived font.
public GVTFont deriveFont(float size,
Map attrs)
deriveFont in interface GVTFontFamilysize - The required size of the derived font.attrs - The Attribute Map to get Values from.public boolean isComplex()
GVTFontFamily
isComplex in interface GVTFontFamily
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||