Class SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge

    • Constructor Detail

      • SVGFeFuncElementBridge

        protected SVGFeFuncElementBridge()
        Constructs a new bridge for component transfer function.
    • Method Detail

      • createComponentTransferFunction

        public ComponentTransferFunction createComponentTransferFunction​(org.w3c.dom.Element filterElement,
                                                                         org.w3c.dom.Element funcElement)
        Creates a ComponentTransferFunction according to the specified parameters.
        Parameters:
        filterElement - the feComponentTransfer filter primitive element
        funcElement - the feFuncX element
      • convertTableValues

        protected static float[] convertTableValues​(org.w3c.dom.Element e,
                                                    BridgeContext ctx)
        Converts the 'tableValues' attribute of the specified component transfer function element.
        Parameters:
        e - the element that represents a component transfer function
        ctx - the BridgeContext to use for error information
      • convertType

        protected static int convertType​(org.w3c.dom.Element e,
                                         BridgeContext ctx)
        Converts the type of the specified component transfert function element.
        Parameters:
        e - the element that represents a component transfer function
        ctx - the BridgeContext to use for error information