|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.svg.SVGOMRect
public class SVGOMRect
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected float x
protected float y
protected float w
protected float h
| Constructor Detail |
|---|
public SVGOMRect()
public SVGOMRect(float x,
float y,
float w,
float h)
| Method Detail |
|---|
public float getX()
SVGRect.getX().
getX in interface org.w3c.dom.svg.SVGRect
public void setX(float x)
throws org.w3c.dom.DOMException
SVGRect.setX(float).
setX in interface org.w3c.dom.svg.SVGRectorg.w3c.dom.DOMExceptionpublic float getY()
SVGRect.getY().
getY in interface org.w3c.dom.svg.SVGRect
public void setY(float y)
throws org.w3c.dom.DOMException
SVGRect.setY(float).
setY in interface org.w3c.dom.svg.SVGRectorg.w3c.dom.DOMExceptionpublic float getWidth()
SVGRect.getWidth().
getWidth in interface org.w3c.dom.svg.SVGRect
public void setWidth(float width)
throws org.w3c.dom.DOMException
SVGRect.setWidth(float).
setWidth in interface org.w3c.dom.svg.SVGRectorg.w3c.dom.DOMExceptionpublic float getHeight()
SVGRect.getHeight().
getHeight in interface org.w3c.dom.svg.SVGRect
public void setHeight(float height)
throws org.w3c.dom.DOMException
SVGRect.setHeight(float).
setHeight in interface org.w3c.dom.svg.SVGRectorg.w3c.dom.DOMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||