org.apache.batik.dom.svg
Class SVGOMRect
public
class
SVGOMRect
extends Object
implements SVGRect
An implementation of SVGRect that is not associated with an
attribute.
Field Summary |
protected float | h
The rect's height. |
protected float | w
The rect's width. |
protected float | x
The rect's x coordinate. |
protected float | y
The rect's y coordinate. |
Constructor Summary |
| SVGOMRect()
Creates a new SVGOMRect with all values set to zero. |
| SVGOMRect(float x, float y, float w, float h)
Creates a new SVGOMRect with the specified position and dimensions. |
Method Summary |
float | getHeight()
DOM: Implements SVGRect#getHeight(). |
float | getWidth()
DOM: Implements SVGRect#getWidth(). |
float | getX()
DOM: Implements SVGRect#getX(). |
float | getY()
DOM: Implements SVGRect#getY(). |
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). |
protected float h
The rect's height.
protected float w
The rect's width.
protected float x
The rect's x coordinate.
protected float y
The rect's y coordinate.
public SVGOMRect()
Creates a new SVGOMRect with all values set to zero.
public SVGOMRect(float x, float y, float w, float h)
Creates a new SVGOMRect with the specified position and dimensions.
public float getHeight()
DOM: Implements SVGRect#getHeight().
public float getWidth()
DOM: Implements SVGRect#getWidth().
public float getX()
DOM: Implements SVGRect#getX().
public float getY()
DOM: Implements SVGRect#getY().
public void setHeight(float height)
DOM: Implements SVGRect#setHeight(float).
public void setWidth(float width)
DOM: Implements SVGRect#setWidth(float).
public void setX(float x)
DOM: Implements SVGRect#setX(float).
public void setY(float y)
DOM: Implements SVGRect#setY(float).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.