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