|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.SVGFontFamily
A font family class for SVG fonts.
Field Summary | |
---|---|
protected BridgeContext |
ctx
|
protected org.w3c.dom.Element |
fontElement
|
protected SVGFontFace |
fontFace
|
Constructor Summary | |
---|---|
SVGFontFamily(SVGFontFace fontFace,
org.w3c.dom.Element fontElement,
BridgeContext ctx)
Constructs an SVGFontFamily. |
Method Summary | |
---|---|
GVTFont |
deriveFont(float size,
java.text.AttributedCharacterIterator aci)
Derives a GVTFont object of the correct size. |
java.lang.String |
getFamilyName()
Returns the family name of this font. |
SVGFontFace |
getFontFace()
Returns the font-face associated with this font family. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SVGFontFace fontFace
protected org.w3c.dom.Element fontElement
protected BridgeContext ctx
Constructor Detail |
public SVGFontFamily(SVGFontFace fontFace, org.w3c.dom.Element fontElement, BridgeContext ctx)
fontFace
- The font face object that describes this font family.fontElement
- The element that contains the font data for this family.ctx
- The bridge context. This is required for lazily loading the
font data at render time.Method Detail |
public java.lang.String getFamilyName()
getFamilyName
in interface GVTFontFamily
public SVGFontFace getFontFace()
public GVTFont deriveFont(float size, java.text.AttributedCharacterIterator aci)
deriveFont
in interface GVTFontFamily
size
- The required size of the derived font.aci
- The character iterator containing the text to be rendered
using the derived font.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |