Class SVGSVGElementBridge

    • Constructor Detail

      • SVGSVGElementBridge

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

      • getIntersectionList

        public java.util.List getIntersectionList​(org.w3c.dom.svg.SVGRect svgRect,
                                                  org.w3c.dom.Element end)
        Description copied from interface: SVGSVGContext
        Returns a List of all the DOM elements that intersect svgRect that are below end in the rendering order.
        Specified by:
        getIntersectionList in interface SVGSVGContext
      • getEnclosureList

        public java.util.List getEnclosureList​(org.w3c.dom.svg.SVGRect svgRect,
                                               org.w3c.dom.Element end)
        Description copied from interface: SVGSVGContext
        Returns a List of all the DOM elements that are encosed in svgRect that are below end in the rendering order.
        Specified by:
        getEnclosureList in interface SVGSVGContext
      • checkIntersection

        public boolean checkIntersection​(org.w3c.dom.Element element,
                                         org.w3c.dom.svg.SVGRect svgRect)
        Description copied from interface: SVGSVGContext
        Returns true if the given DOM element intersects svgRect.
        Specified by:
        checkIntersection in interface SVGSVGContext
      • checkEnclosure

        public boolean checkEnclosure​(org.w3c.dom.Element element,
                                      org.w3c.dom.svg.SVGRect svgRect)
        Description copied from interface: SVGSVGContext
        Returns true if the given DOM element is enclosed in the svgRect.
        Specified by:
        checkEnclosure in interface SVGSVGContext
      • filterChildren

        public boolean filterChildren​(org.w3c.dom.Element curr,
                                      org.w3c.dom.Element end,
                                      java.util.Set elems,
                                      java.util.List ret)
      • getAncestors

        protected java.util.Set getAncestors​(org.w3c.dom.Element end,
                                             org.w3c.dom.Element base)
      • getNext

        protected org.w3c.dom.Element getNext​(org.w3c.dom.Element curr,
                                              org.w3c.dom.Element base,
                                              org.w3c.dom.Element end)
      • deselectAll

        public void deselectAll()
        Description copied from interface: SVGSVGContext
        Used to inform the user agent that the text selection should be cleared.
        Specified by:
        deselectAll in interface SVGSVGContext
      • suspendRedraw

        public int suspendRedraw​(int max_wait_milliseconds)
        Description copied from interface: SVGSVGContext
        Suspends redrawing of the canvas for the given number of milliseconds.
        Specified by:
        suspendRedraw in interface SVGSVGContext
      • unsuspendRedraw

        public boolean unsuspendRedraw​(int suspend_handle_id)
        Description copied from interface: SVGSVGContext
        Unsuspends redrawing of the canvas.
        Specified by:
        unsuspendRedraw in interface SVGSVGContext
      • forceRedraw

        public void forceRedraw()
        Description copied from interface: SVGSVGContext
        Forces an immediate redraw of the canvas.
        Specified by:
        forceRedraw in interface SVGSVGContext
      • pauseAnimations

        public void pauseAnimations()
        Pauses animations in the document.
        Specified by:
        pauseAnimations in interface SVGSVGContext
      • unpauseAnimations

        public void unpauseAnimations()
        Unpauses animations in the document.
        Specified by:
        unpauseAnimations in interface SVGSVGContext
      • animationsPaused

        public boolean animationsPaused()
        Returns whether animations are currently paused.
        Specified by:
        animationsPaused in interface SVGSVGContext
      • getCurrentTime

        public float getCurrentTime()
        Returns the current document time.
        Specified by:
        getCurrentTime in interface SVGSVGContext
      • setCurrentTime

        public void setCurrentTime​(float t)
        Sets the current document time.
        Specified by:
        setCurrentTime in interface SVGSVGContext