org.apache.batik.extension.svg
public class ColorSwitchBridge extends AbstractSVGBridge implements PaintBridge, BatikExtConstants
Constructor Summary | |
---|---|
ColorSwitchBridge()
Constructs a new bridge for the <batik:colorSwitch> element. |
Method Summary | |
---|---|
Paint | createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
Creates a Paint according to the specified parameters.
|
String | getLocalName()
Returns 'colorSwitch'. |
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