Class SVGOMAnimatedRect.BaseSVGRect

java.lang.Object
org.apache.batik.dom.svg.SVGOMRect
org.apache.batik.anim.dom.SVGOMAnimatedRect.BaseSVGRect
All Implemented Interfaces:
org.w3c.dom.svg.SVGRect
Enclosing class:
SVGOMAnimatedRect

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

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    Whether this rect is valid.

    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().
    void
    Invalidates this length.
    protected void
    Resets the value of the associated attribute.
    protected void
    Initializes the length, if needed.
    void
    setHeight(float height)
    DOM: Implements SVGRect.setHeight(float).
    void
    setWidth(float width)
    DOM: Implements SVGRect.setWidth(float).
    void
    setX(float x)
    DOM: Implements SVGRect.setX(float).
    void
    setY(float y)
    DOM: Implements SVGRect.setY(float).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • valid

      protected boolean valid
      Whether this rect is valid.
  • Constructor Details

    • BaseSVGRect

      protected BaseSVGRect()
  • Method Details

    • invalidate

      public void invalidate()
      Invalidates this length.
    • reset

      protected void reset()
      Resets the value of the associated attribute.
    • revalidate

      protected void revalidate()
      Initializes the length, if needed.
    • getX

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

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

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

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

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

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

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

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