org.apache.batik.gvt.font
public class AWTFontFamily extends Object implements GVTFontFamily
| Field Summary | |
|---|---|
| protected Font | font |
| protected GVTFontFace | fontFace |
| static Attribute | TEXT_COMPOUND_DELIMITER |
| Constructor Summary | |
|---|---|
| AWTFontFamily(GVTFontFace fontFace)
Constructs an AWTFontFamily with the specified familyName.
| |
| AWTFontFamily(String familyName)
Constructs an AWTFontFamily with the specified familyName.
| |
| AWTFontFamily(GVTFontFace fontFace, Font font)
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. |
Parameters: fontFace The name of the font family.
Parameters: familyName The name of the font family.
Parameters: fontFace The name of the font family.
Parameters: size The required size of the derived font. aci The character iterator that will be rendered using the derived font.
Parameters: size The required size of the derived font. attrs The Attribute Map to get Values from.
Returns: The family name.