Package org.apache.batik.bridge
Interface PaintBridge
-
- All Superinterfaces:
Bridge
- All Known Implementing Classes:
AbstractSVGGradientElementBridge
,ColorSwitchBridge
,SVGLinearGradientElementBridge
,SVGPatternElementBridge
,SVGRadialGradientElementBridge
,SVGSolidColorElementBridge
public interface PaintBridge extends Bridge
Bridge class for vendingPaint
objects.- Version:
- $Id: PaintBridge.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Paint
createPaint(BridgeContext ctx, org.w3c.dom.Element paintElement, org.w3c.dom.Element paintedElement, GraphicsNode paintedNode, float opacity)
Creates aPaint
according to the specified parameters.-
Methods inherited from interface org.apache.batik.bridge.Bridge
getInstance, getLocalName, getNamespaceURI
-
-
-
-
Method Detail
-
createPaint
java.awt.Paint createPaint(BridgeContext ctx, org.w3c.dom.Element paintElement, org.w3c.dom.Element paintedElement, GraphicsNode paintedNode, float opacity)
Creates aPaint
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
-
-