org.apache.batik.bridge
public class SVGAltGlyphHandler extends Object implements AltGlyphHandler, SVGConstants
Constructor Summary | |
---|---|
SVGAltGlyphHandler(BridgeContext ctx, Element textElement)
Constructs an SVGAltGlyphHandler.
|
Method Summary | |
---|---|
GVTGlyphVector | createGlyphVector(FontRenderContext frc, float fontSize, AttributedCharacterIterator aci)
Creates a glyph vector containing the alternate glyphs.
|
Parameters: ctx The bridge context, this is needed during rendering to find any referenced glyph elements. textElement The element that contains text to be replaced by the alternate glyphs. This should be an altGlyph element.
Parameters: frc The current font render context. fontSize The required font size.
Returns: The GVTGlyphVector containing the alternate glyphs, or null if the alternate glyphs could not be found.