Class SVGMaskElementBridge

    • Constructor Detail

      • SVGMaskElementBridge

        public SVGMaskElementBridge()
        Constructs a new bridge for the <mask> element.
    • Method Detail

      • getLocalName

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

        public Mask createMask​(BridgeContext ctx,
                               org.w3c.dom.Element maskElement,
                               org.w3c.dom.Element maskedElement,
                               GraphicsNode maskedNode)
        Creates a Mask according to the specified parameters.
        Specified by:
        createMask in interface MaskBridge
        Parameters:
        ctx - the bridge context to use
        maskElement - the element that defines the mask
        maskedElement - the element that references the mask element
        maskedNode - the graphics node to mask