org.apache.batik.bridge
public class SVGGlyphElementBridge extends AbstractSVGBridge implements ErrorConstants
Constructor Summary | |
---|---|
protected | SVGGlyphElementBridge()
Constructs a new bridge for the <glyph> element. |
Method Summary | |
---|---|
Glyph | createGlyph(BridgeContext ctx, Element glyphElement, Element textElement, int glyphCode, float fontSize, GVTFontFace fontFace, TextPaintInfo tpi)
Constructs a new Glyph that represents the specified <glyph> element
at the requested size.
|
String | getLocalName()
Returns 'glyph'. |
Parameters: ctx The current bridge context. glyphElement The glyph element to base the glyph construction on. textElement The textElement the glyph will be used for. glyphCode The unique id to give to the new glyph. fontSize The font size used to determine the size of the glyph. fontFace The font face object that contains the font attributes.
Returns: The new Glyph.