Class SVGOMAnimatedRect.AnimSVGRect

java.lang.Object
org.apache.batik.dom.svg.SVGOMRect
org.apache.batik.anim.dom.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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    DOM: Implements SVGRect.getHeight().
    float
    DOM: Implements SVGRect.getWidth().
    float
    DOM: Implements SVGRect.getX().
    float
    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 Details

    • AnimSVGRect

      protected AnimSVGRect()
  • Method Details

    • 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 DOMException
      DOM: Implements SVGRect.setX(float).
      Specified by:
      setX in interface org.w3c.dom.svg.SVGRect
      Overrides:
      setX in class SVGOMRect
      Throws:
      DOMException
    • setY

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

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

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

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