org.apache.batik.bridge
Interface PaintBridge
- All Superinterfaces:
- Bridge
- All Known Implementing Classes:
- AbstractSVGGradientElementBridge, SVGPatternElementBridge, ColorSwitchBridge, SolidColorBridge
- public interface PaintBridge
- extends Bridge
Bridge class for vending Paint objects.
createPaint
public java.awt.Paint createPaint(BridgeContext ctx,
Element paintElement,
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
Copyright © 2002 Apache Software Foundation. All Rights Reserved.