sdljava.video
public class SDLRect extends Object
SDLRect here.
Version: $Id: SDLRect.java,v 1.3 2005/01/19 03:09:14 ivan_ganza Exp $
| 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
|
| String | toString()
Return a string represenation of this object
|
Returns: the value of height
Returns: the value of width
Returns: the value of x
Returns: the value of y
Parameters: argHeight Value to assign to this.height
Parameters: argWidth Value to assign to this.width
Parameters: argX Value to assign to this.x
Parameters: argY Value to assign to this.y
Returns: a String represenation of this object