public class UnresolvedFontFamily extends Object implements GVTFontFamily
| Modifier and Type | Field and Description |
|---|---|
protected GVTFontFace |
fontFace |
| Constructor and Description |
|---|
UnresolvedFontFamily(GVTFontFace fontFace)
Constructs an UnresolvedFontFamily with the specified familyName.
|
UnresolvedFontFamily(String familyName)
Constructs an UnresolvedFontFamily with the specified familyName.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
protected GVTFontFace fontFace
public UnresolvedFontFamily(GVTFontFace fontFace)
fontFace - The name of the font family.public UnresolvedFontFamily(String familyName)
familyName - The name of the font family.public GVTFontFace getFontFace()
getFontFace in interface GVTFontFamilypublic String getFamilyName()
getFamilyName in interface GVTFontFamilypublic 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()
GVTFontFamilyisComplex in interface GVTFontFamilyCopyright © 2000–2020 Apache Software Foundation. All rights reserved.