org.apache.batik.bridge

Class SVGAltGlyphElementBridge

public class SVGAltGlyphElementBridge extends AbstractSVGBridge implements ErrorConstants

Bridge class for the <altGlyph> element.
Field Summary
static AttributePAINT_INFO
Constructor Summary
SVGAltGlyphElementBridge()
Constructs a new bridge for the <altGlyph> element.
Method Summary
Glyph[]createAltGlyphArray(BridgeContext ctx, Element altGlyphElement, float fontSize, AttributedCharacterIterator aci)
Constructs an array of Glyphs that represents the specified <altGlyph> element at the requested size.
StringgetLocalName()
Returns 'altGlyph'.

Field Detail

PAINT_INFO

public static final Attribute PAINT_INFO

Constructor Detail

SVGAltGlyphElementBridge

public SVGAltGlyphElementBridge()
Constructs a new bridge for the <altGlyph> element.

Method Detail

createAltGlyphArray

public Glyph[] createAltGlyphArray(BridgeContext ctx, Element altGlyphElement, float fontSize, AttributedCharacterIterator aci)
Constructs an array of Glyphs that represents the specified <altGlyph> element at the requested size.

Parameters: ctx The current bridge context. altGlyphElement The altGlyph element to base the SVGGVTGlyphVector construction on. fontSize The font size of the Glyphs to create.

Returns: The new SVGGVTGlyphVector or null if any of the glyphs are unavailable.

getLocalName

public String getLocalName()
Returns 'altGlyph'.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.