Interface SVGSVGElement

All Superinterfaces:
Element, EventTarget, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode, SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGLangSpace, SVGLocatable, SVGStylable, SVGTests, SVGZoomAndPan
All Known Implementing Classes:
SVGSVGElementImpl

SVGSVGElement interface.

  • Method Details

    • getX

      getX.

      Returns:
      a SVGAnimatedLength object.
    • getY

      getY.

      Returns:
      a SVGAnimatedLength object.
    • getWidth

      SVGAnimatedLength getWidth()

      getWidth.

      Returns:
      a SVGAnimatedLength object.
    • getHeight

      SVGAnimatedLength getHeight()

      getHeight.

      Returns:
      a SVGAnimatedLength object.
    • getViewport

      SVGRect getViewport()

      getViewport.

      Returns:
      a SVGRect object.
    • getPixelUnitToMillimeterX

      float getPixelUnitToMillimeterX()

      getPixelUnitToMillimeterX.

      Returns:
      a float.
    • getPixelUnitToMillimeterY

      float getPixelUnitToMillimeterY()

      getPixelUnitToMillimeterY.

      Returns:
      a float.
    • getScreenPixelToMillimeterX

      float getScreenPixelToMillimeterX()

      getScreenPixelToMillimeterX.

      Returns:
      a float.
    • getScreenPixelToMillimeterY

      float getScreenPixelToMillimeterY()

      getScreenPixelToMillimeterY.

      Returns:
      a float.
    • getUseCurrentView

      boolean getUseCurrentView()

      getUseCurrentView.

      Returns:
      a boolean.
    • setUseCurrentView

      void setUseCurrentView(boolean useCurrentView)

      setUseCurrentView.

      Parameters:
      useCurrentView - a boolean.
      Throws:
      DOMException - if any.
    • getCurrentView

      SVGViewSpec getCurrentView()

      getCurrentView.

      Returns:
      a SVGViewSpec object.
    • getCurrentScale

      float getCurrentScale()

      getCurrentScale.

      Returns:
      a float.
    • setCurrentScale

      void setCurrentScale(float currentScale)

      setCurrentScale.

      Parameters:
      currentScale - a float.
      Throws:
      DOMException - if any.
    • getCurrentTranslate

      SVGPoint getCurrentTranslate()

      getCurrentTranslate.

      Returns:
      a SVGPoint object.
    • suspendRedraw

      int suspendRedraw(int max_wait_milliseconds)

      suspendRedraw.

      Parameters:
      max_wait_milliseconds - a Integer object.
      Returns:
      a Integer object.
    • unsuspendRedraw

      void unsuspendRedraw(int suspend_handle_id)

      unsuspendRedraw.

      Parameters:
      suspend_handle_id - a Integer object.
      Throws:
      DOMException - if any.
    • unsuspendRedrawAll

      void unsuspendRedrawAll()

      unsuspendRedrawAll.

    • forceRedraw

      void forceRedraw()

      forceRedraw.

    • pauseAnimations

      void pauseAnimations()

      pauseAnimations.

    • unpauseAnimations

      void unpauseAnimations()

      unpauseAnimations.

    • animationsPaused

      boolean animationsPaused()

      animationsPaused.

      Returns:
      a boolean.
    • getCurrentTime

      float getCurrentTime()

      getCurrentTime.

      Returns:
      a float.
    • setCurrentTime

      void setCurrentTime(float seconds)

      setCurrentTime.

      Parameters:
      seconds - a float.
    • getIntersectionList

      NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement)

      getIntersectionList.

      Parameters:
      rect - a SVGRect object.
      referenceElement - a SVGElement object.
      Returns:
      a NodeList object.
    • getEnclosureList

      NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement)

      getEnclosureList.

      Parameters:
      rect - a SVGRect object.
      referenceElement - a SVGElement object.
      Returns:
      a NodeList object.
    • checkIntersection

      boolean checkIntersection(SVGElement element, SVGRect rect)

      checkIntersection.

      Parameters:
      element - a SVGElement object.
      rect - a SVGRect object.
      Returns:
      a boolean.
    • checkEnclosure

      boolean checkEnclosure(SVGElement element, SVGRect rect)

      checkEnclosure.

      Parameters:
      element - a SVGElement object.
      rect - a SVGRect object.
      Returns:
      a boolean.
    • deselectAll

      void deselectAll()

      deselectAll.

    • createSVGNumber

      SVGNumber createSVGNumber()

      createSVGNumber.

      Returns:
      a SVGNumber object.
    • createSVGLength

      SVGLength createSVGLength()

      createSVGLength.

      Returns:
      a SVGLength object.
    • createSVGAngle

      SVGAngle createSVGAngle()

      createSVGAngle.

      Returns:
      a SVGAngle object.
    • createSVGPoint

      SVGPoint createSVGPoint()

      createSVGPoint.

      Returns:
      a SVGPoint object.
    • createSVGMatrix

      SVGMatrix createSVGMatrix()

      createSVGMatrix.

      Returns:
      a SVGMatrix object.
    • createSVGRect

      SVGRect createSVGRect()

      createSVGRect.

      Returns:
      a SVGRect object.
    • createSVGTransform

      SVGTransform createSVGTransform()

      createSVGTransform.

      Returns:
      a SVGTransform object.
    • createSVGTransformFromMatrix

      SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix)

      createSVGTransformFromMatrix.

      Parameters:
      matrix - a SVGMatrix object.
      Returns:
      a SVGTransform object.
    • getElementById

      Element getElementById(String elementId)

      getElementById.

      Parameters:
      elementId - a String object.
      Returns:
      a Element object.
    • createEvent

      Event createEvent(String eventType)

      createEvent.

      Parameters:
      eventType - a String object.
      Returns:
      a Event object.