org.apache.batik.bridge
public class SVGPatternElementBridge extends AnimatableGenericSVGBridge implements PaintBridge, ErrorConstants
| Nested Class Summary | |
|---|---|
| static class | SVGPatternElementBridge.PatternGraphicsNode |
| Constructor Summary | |
|---|---|
| SVGPatternElementBridge()
Constructs a new SVGPatternElementBridge. | |
| Method Summary | |
|---|---|
| Paint | createPaint(BridgeContext ctx, Element patternElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
Creates a Paint according to the specified parameters.
|
| protected static RootGraphicsNode | extractLocalPatternContent(Element e, BridgeContext ctx)
Returns the content of the specified pattern element or null if any.
|
| protected static RootGraphicsNode | extractPatternContent(Element patternElement, BridgeContext ctx)
Returns the content of the specified pattern element. |
| String | getLocalName()
Returns 'pattern'. |
Parameters: ctx the bridge context to use patternElement the pattern 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
Parameters: e the pattern element ctx the bridge context
Parameters: patternElement the gradient element ctx the bridge context to use