Package org.apache.batik.gvt.font
Interface GVTFontFamily
-
- All Known Implementing Classes:
AWTFontFamily,SVGFontFamily,UnresolvedFontFamily
public interface GVTFontFamilyAn interface for all font family classes.- Version:
- $Id: GVTFontFamily.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GVTFontderiveFont(float size, java.text.AttributedCharacterIterator aci)Derives a GVTFont object of the correct size.GVTFontderiveFont(float size, java.util.Map attrs)Derives a GVTFont object of the correct size from an attribute Map.java.lang.StringgetFamilyName()Returns the font family name.GVTFontFacegetFontFace()Returns the FontFace for this fontFamily instance.booleanisComplex()This method returns true iff the font is a complex SVG font
-
-
-
Method Detail
-
getFamilyName
java.lang.String getFamilyName()
Returns the font family name.- Returns:
- The family name.
-
getFontFace
GVTFontFace getFontFace()
Returns the FontFace for this fontFamily instance.
-
deriveFont
GVTFont deriveFont(float size, java.text.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
GVTFont deriveFont(float size, java.util.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.
-
isComplex
boolean isComplex()
This method returns true iff the font is a complex SVG font
-
-