Interface PaintBridge

All Superinterfaces:
Bridge
All Known Implementing Classes:
AbstractSVGGradientElementBridge, ColorSwitchBridge, SVGLinearGradientElementBridge, SVGPatternElementBridge, SVGRadialGradientElementBridge, SVGSolidColorElementBridge

public interface PaintBridge extends Bridge
Bridge class for vending Paint objects.
Version:
$Id: PaintBridge.java 1733416 2016-03-03 07:07:13Z gadams $
  • Method Details

    • createPaint

      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 use
      paintElement - the 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