Package org.apache.batik.anim.dom
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
This class represents the SVGRect returned by getBaseVal().
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
DOM: ImplementsSVGRect.getHeight()
.float
getWidth()
DOM: ImplementsSVGRect.getWidth()
.float
getX()
DOM: ImplementsSVGRect.getX()
.float
getY()
DOM: ImplementsSVGRect.getY()
.void
Invalidates this length.protected void
reset()
Resets the value of the associated attribute.protected void
Initializes the length, if needed.void
setHeight
(float height) DOM: ImplementsSVGRect.setHeight(float)
.void
setWidth
(float width) DOM: ImplementsSVGRect.setWidth(float)
.void
setX
(float x) DOM: ImplementsSVGRect.setX(float)
.void
setY
(float y) DOM: ImplementsSVGRect.setY(float)
.
-
Field Details
-
valid
protected boolean validWhether 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: ImplementsSVGRect.getX()
. -
setX
DOM: ImplementsSVGRect.setX(float)
.- Specified by:
setX
in interfaceorg.w3c.dom.svg.SVGRect
- Overrides:
setX
in classSVGOMRect
- Throws:
DOMException
-
getY
public float getY()DOM: ImplementsSVGRect.getY()
. -
setY
DOM: ImplementsSVGRect.setY(float)
.- Specified by:
setY
in interfaceorg.w3c.dom.svg.SVGRect
- Overrides:
setY
in classSVGOMRect
- Throws:
DOMException
-
getWidth
public float getWidth()DOM: ImplementsSVGRect.getWidth()
. -
setWidth
DOM: ImplementsSVGRect.setWidth(float)
.- Specified by:
setWidth
in interfaceorg.w3c.dom.svg.SVGRect
- Overrides:
setWidth
in classSVGOMRect
- Throws:
DOMException
-
getHeight
public float getHeight()DOM: ImplementsSVGRect.getHeight()
. -
setHeight
DOM: ImplementsSVGRect.setHeight(float)
.- Specified by:
setHeight
in interfaceorg.w3c.dom.svg.SVGRect
- Overrides:
setHeight
in classSVGOMRect
- Throws:
DOMException
-