org.apache.batik.gvt.font

Interface GVTFontFamily

public interface GVTFontFamily

An interface for all font family classes.
Method Summary
GVTFontderiveFont(float size, AttributedCharacterIterator aci)
Derives a GVTFont object of the correct size.
GVTFontderiveFont(float size, Map attrs)
Derives a GVTFont object of the correct size from an attribute Map.
StringgetFamilyName()
Returns the font family name.
GVTFontFacegetFontFace()
Returns the FontFace for this fontFamily instance.

Method Detail

deriveFont

public GVTFont deriveFont(float size, AttributedCharacterIterator aci)
Derives a GVTFont object of the correct size.

Parameters: size The required size of the derived font. aci The character iterator that will be rendered using the derived font.

deriveFont

public GVTFont deriveFont(float size, Map attrs)
Derives a GVTFont object of the correct size from an attribute Map.

Parameters: size The required size of the derived font. attrs The Attribute Map to get Values from.

getFamilyName

public String getFamilyName()
Returns the font family name.

Returns: The family name.

getFontFace

public GVTFontFace getFontFace()
Returns the FontFace for this fontFamily instance.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.