org.apache.batik.bridge.svg12
public class SVGSolidColorElementBridge extends AnimatableGenericSVGBridge implements PaintBridge
| Constructor Summary | |
|---|---|
| SVGSolidColorElementBridge()
Constructs a new bridge for the <rect> element. | |
| Method Summary | |
|---|---|
| Paint | createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
Creates a Paint according to the specified parameters.
|
| protected static Color | extractColor(Element paintElement, float opacity, BridgeContext ctx) |
| protected static float | extractOpacity(Element paintElement, float opacity, BridgeContext ctx) |
| String | getLocalName()
Returns 'rect'. |
| String | getNamespaceURI()
Returns the SVG namespace URI. |
Parameters: ctx the bridge context to use paintElement the element that defines a Paint paintedElement the element referencing the paint paintedNode the graphics node on which the Paint will be applied opacity the opacity of the Paint to create