org.apache.batik.bridge
Interface PaintBridge
- All Superinterfaces:
- Bridge
- All Known Implementing Classes:
- AbstractSVGGradientElementBridge, ColorSwitchBridge, SolidColorBridge, SVGPatternElementBridge
- public interface PaintBridge
- extends Bridge
Bridge class for vending Paint objects.
- Version:
- $Id: PaintBridge.java,v 1.6 2003/08/08 11:38:50 vhardy Exp $
- Author:
- Thierry Kormann
|
Method Summary |
java.awt.Paint |
createPaint(BridgeContext ctx,
org.w3c.dom.Element paintElement,
org.w3c.dom.Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
createPaint
public java.awt.Paint createPaint(BridgeContext ctx,
org.w3c.dom.Element paintElement,
org.w3c.dom.Element paintedElement,
GraphicsNode paintedNode,
float opacity)
- Creates a Paint according to the specified parameters.
- Parameters:
ctx - the bridge context to usepaintElement - the element that defines a PaintpaintedElement - the element referencing the paintpaintedNode - the graphics node on which the Paint will be appliedopacity - the opacity of the Paint to create
<oXygen/>
XML Editor
uses Batik from the Apache Foundation
to provide support for previewing SVG documents.
See the SVG Editor section
for more info.