|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sdljava.video.SDLRect
public class SDLRect
Describe class SDLRect
here.
Field Summary | |
---|---|
int |
height
|
int |
width
|
int |
x
|
int |
y
|
Constructor Summary | |
---|---|
SDLRect()
|
|
SDLRect(int x,
int y)
|
|
SDLRect(int x,
int y,
int width,
int height)
|
Method Summary | |
---|---|
int |
getHeight()
Gets the value of height |
int |
getWidth()
Gets the value of width |
int |
getX()
Gets the value of x |
int |
getY()
Gets the value of y |
void |
setHeight(int argHeight)
Sets the value of height |
void |
setLocation(int x,
int y)
|
void |
setSize(int width,
int height)
|
void |
setWidth(int argWidth)
Sets the value of width |
void |
setX(int argX)
Sets the value of x |
void |
setY(int argY)
Sets the value of y |
java.lang.String |
toString()
Return a string represenation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int width
public int height
Constructor Detail |
---|
public SDLRect()
public SDLRect(int x, int y)
public SDLRect(int x, int y, int width, int height)
Method Detail |
---|
public int getX()
public void setX(int argX)
argX
- Value to assign to this.xpublic int getY()
public void setY(int argY)
argY
- Value to assign to this.ypublic int getWidth()
public void setWidth(int argWidth)
argWidth
- Value to assign to this.widthpublic int getHeight()
public void setHeight(int argHeight)
argHeight
- Value to assign to this.heightpublic void setLocation(int x, int y)
public void setSize(int width, int height)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |