org.apache.batik.extension.svg
public class BatikRegularPolygonElementBridge extends SVGDecoratedShapeElementBridge implements BatikExtConstants
Constructor Summary | |
---|---|
BatikRegularPolygonElementBridge()
Constructs a new bridge for the <rect> element. |
Method Summary | |
---|---|
protected void | buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
Constructs a regular polygone according to the specified parameters.
|
protected static int | convertSides(Element filterElement, String attrName, int defaultValue, BridgeContext ctx)
Stolen from AbstractSVGFilterPrimitiveElementBridge.
|
Bridge | getInstance()
Returns a new instance of this bridge. |
String | getLocalName()
Returns 'rect'. |
String | getNamespaceURI()
Returns the SVG namespace URI. |
Parameters: ctx the bridge context to use e the element that describes a rect element shapeNode the shape node to initialize
Parameters: filterElement the filter primitive element attrName the name of the attribute defaultValue the default value of the attribute ctx the BridgeContext to use for error information