Class AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge

All Implemented Interfaces:
SVGAnimationTargetContext, Bridge, BridgeUpdateHandler, GenericBridge, XMLConstants, SVGContext, CSSConstants, SVGConstants
Direct Known Subclasses:
AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge, AbstractSVGLightingElementBridge.SVGFePointLightElementBridge, AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge
Enclosing class:
AbstractSVGLightingElementBridge

protected abstract static class AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge extends AnimatableGenericSVGBridge
The base bridge class for light element.
  • Constructor Details

    • AbstractSVGLightElementBridge

      protected AbstractSVGLightElementBridge()
  • Method Details

    • createLight

      public abstract Light createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
      Creates a Light according to the specified parameters.
      Parameters:
      ctx - the bridge context to use
      filterElement - the lighting filter primitive element
      lightElement - the element describing a light
      color - the color of the light