org.apache.batik.bridge
public class SVGFontElementBridge extends AbstractSVGBridge
Constructor Summary | |
---|---|
SVGFontElementBridge()
Constructs a new bridge for the <font> element. |
Method Summary | |
---|---|
SVGGVTFont | createFont(BridgeContext ctx, Element fontElement, Element textElement, float size, GVTFontFace fontFace)
Constructs a new SVGGVTFont that represents the specified <font> element
at the requested size.
|
String | getLocalName()
Returns 'font'. |
Parameters: ctx The current bridge context. fontElement The font element to base the SVGGVTFont construction on. textElement The text element that will use the new font. size The size of the new font. fontFace The font face object that contains the font attributes.
Returns: The new SVGGVTFont.