Interface PaintBridge
- All Superinterfaces:
Bridge
- All Known Implementing Classes:
AbstractSVGGradientElementBridge, ColorSwitchBridge, SVGLinearGradientElementBridge, SVGPatternElementBridge, SVGRadialGradientElementBridge, SVGSolidColorElementBridge
-
Method Summary
Modifier and TypeMethodDescriptioncreatePaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.Methods inherited from interface Bridge
getInstance, getLocalName, getNamespaceURI
-
Method Details
-
createPaint
Paint createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording 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
-