Class AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge

    • Constructor Detail

      • SVGFeSpotLightElementBridge

        public SVGFeSpotLightElementBridge()
        Constructs a new bridge for a light element.
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        Returns 'feSpotLight'.
      • createLight

        public Light createLight​(BridgeContext ctx,
                                 org.w3c.dom.Element filterElement,
                                 org.w3c.dom.Element lightElement,
                                 java.awt.Color color)
        Creates a Light according to the specified parameters.
        Specified by:
        createLight in class AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge
        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