public interface WritableRectangle extends WritablePoint, WritableDimension
Modifier and Type | Method and Description |
---|---|
void |
setBounds(int x,
int y,
int width,
int height)
Sets the bounds of the rectangle
|
void |
setBounds(ReadablePoint location,
ReadableDimension size)
Sets the bounds of the rectangle
|
void |
setBounds(ReadableRectangle src)
Sets the bounds of the rectangle
|
setLocation, setLocation, setX, setY
setHeight, setSize, setSize, setWidth
void setBounds(int x, int y, int width, int height)
x
- Position of rectangle on x axisy
- Position of rectangle on y axiswidth
- Width of rectangleheight
- Height of rectanglevoid setBounds(ReadablePoint location, ReadableDimension size)
location
- size
- void setBounds(ReadableRectangle src)
src
- Copyright © 2002-2009 lwjgl.org. All Rights Reserved.