Class AbstractSVGLightingElementBridge

    • Constructor Detail

      • AbstractSVGLightingElementBridge

        protected AbstractSVGLightingElementBridge()
        Constructs a new bridge for the lighting filter primitives.
    • Method Detail

      • extractLight

        protected static Light extractLight​(org.w3c.dom.Element filterElement,
                                            BridgeContext ctx)
        Returns the light from the specified lighting filter primitive element or null if any
        Parameters:
        filterElement - the lighting filter primitive element
        ctx - the bridge context
      • convertKernelUnitLength

        protected static double[] convertKernelUnitLength​(org.w3c.dom.Element filterElement,
                                                          BridgeContext ctx)
        Convert the 'kernelUnitLength' attribute of the specified feDiffuseLighting or feSpecularLighting filter primitive element.
        Parameters:
        filterElement - the filter primitive element
        ctx - the BridgeContext to use for error information