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 TypeMethodDescriptionfloatDOM: ImplementsSVGRect.getHeight().floatgetWidth()DOM: ImplementsSVGRect.getWidth().floatgetX()DOM: ImplementsSVGRect.getX().floatgetY()DOM: ImplementsSVGRect.getY().voidInvalidates this length.protected voidreset()Resets the value of the associated attribute.protected voidInitializes the length, if needed.voidsetHeight(float height) DOM: ImplementsSVGRect.setHeight(float).voidsetWidth(float width) DOM: ImplementsSVGRect.setWidth(float).voidsetX(float x) DOM: ImplementsSVGRect.setX(float).voidsetY(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
-
setX
DOM: ImplementsSVGRect.setX(float).- Specified by:
setXin interfaceorg.w3c.dom.svg.SVGRect- Overrides:
setXin classSVGOMRect- Throws:
DOMException
-
getY
-
setY
DOM: ImplementsSVGRect.setY(float).- Specified by:
setYin interfaceorg.w3c.dom.svg.SVGRect- Overrides:
setYin classSVGOMRect- Throws:
DOMException
-
getWidth
-
setWidth
DOM: ImplementsSVGRect.setWidth(float).- Specified by:
setWidthin interfaceorg.w3c.dom.svg.SVGRect- Overrides:
setWidthin classSVGOMRect- Throws:
DOMException
-
getHeight
-
setHeight
DOM: ImplementsSVGRect.setHeight(float).- Specified by:
setHeightin interfaceorg.w3c.dom.svg.SVGRect- Overrides:
setHeightin classSVGOMRect- Throws:
DOMException
-