Class AbstractSVGGradientElementBridge.SVGStopElementBridge

    • Constructor Detail

      • SVGStopElementBridge

        public SVGStopElementBridge()
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        Returns 'stop'.
        Specified by:
        getLocalName in interface Bridge
      • createStop

        public AbstractSVGGradientElementBridge.Stop createStop​(BridgeContext ctx,
                                                                org.w3c.dom.Element gradientElement,
                                                                org.w3c.dom.Element stopElement,
                                                                float opacity)
        Creates a Stop according to the specified parameters.
        Parameters:
        ctx - the bridge context to use
        gradientElement - the gradient element
        stopElement - the stop element
        opacity - an additional opacity of the stop color