Class SVGOMAnimatedRect.AnimSVGRect

  • All Implemented Interfaces:
    org.w3c.dom.svg.SVGRect
    Enclosing class:
    SVGOMAnimatedRect

    protected class SVGOMAnimatedRect.AnimSVGRect
    extends SVGOMRect
    This class represents the SVGRect returned by getAnimVal().
    • Field Summary

      • Fields inherited from class org.apache.batik.dom.svg.SVGOMRect

        h, w, x, y
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AnimSVGRect()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getHeight()
      DOM: Implements SVGRect.getHeight().
      float getWidth()
      DOM: Implements SVGRect.getWidth().
      float getX()
      DOM: Implements SVGRect.getX().
      float getY()
      DOM: Implements SVGRect.getY().
      protected void setAnimatedValue​(float x, float y, float w, float h)
      Sets the animated value.
      void setHeight​(float value)
      DOM: Implements SVGRect.setHeight(float).
      void setWidth​(float value)
      DOM: Implements SVGRect.setWidth(float).
      void setX​(float value)
      DOM: Implements SVGRect.setX(float).
      void setY​(float value)
      DOM: Implements SVGRect.setY(float).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnimSVGRect

        protected AnimSVGRect()
    • Method Detail

      • getX

        public float getX()
        DOM: Implements SVGRect.getX().
        Specified by:
        getX in interface org.w3c.dom.svg.SVGRect
        Overrides:
        getX in class SVGOMRect
      • getY

        public float getY()
        DOM: Implements SVGRect.getY().
        Specified by:
        getY in interface org.w3c.dom.svg.SVGRect
        Overrides:
        getY in class SVGOMRect
      • getWidth

        public float getWidth()
        DOM: Implements SVGRect.getWidth().
        Specified by:
        getWidth in interface org.w3c.dom.svg.SVGRect
        Overrides:
        getWidth in class SVGOMRect
      • getHeight

        public float getHeight()
        DOM: Implements SVGRect.getHeight().
        Specified by:
        getHeight in interface org.w3c.dom.svg.SVGRect
        Overrides:
        getHeight in class SVGOMRect
      • setX

        public void setX​(float value)
                  throws org.w3c.dom.DOMException
        DOM: Implements SVGRect.setX(float).
        Specified by:
        setX in interface org.w3c.dom.svg.SVGRect
        Overrides:
        setX in class SVGOMRect
        Throws:
        org.w3c.dom.DOMException
      • setY

        public void setY​(float value)
                  throws org.w3c.dom.DOMException
        DOM: Implements SVGRect.setY(float).
        Specified by:
        setY in interface org.w3c.dom.svg.SVGRect
        Overrides:
        setY in class SVGOMRect
        Throws:
        org.w3c.dom.DOMException
      • setWidth

        public void setWidth​(float value)
                      throws org.w3c.dom.DOMException
        DOM: Implements SVGRect.setWidth(float).
        Specified by:
        setWidth in interface org.w3c.dom.svg.SVGRect
        Overrides:
        setWidth in class SVGOMRect
        Throws:
        org.w3c.dom.DOMException
      • setHeight

        public void setHeight​(float value)
                       throws org.w3c.dom.DOMException
        DOM: Implements SVGRect.setHeight(float).
        Specified by:
        setHeight in interface org.w3c.dom.svg.SVGRect
        Overrides:
        setHeight in class SVGOMRect
        Throws:
        org.w3c.dom.DOMException
      • setAnimatedValue

        protected void setAnimatedValue​(float x,
                                        float y,
                                        float w,
                                        float h)
        Sets the animated value.