WritableDimension
, WritablePoint
Rectangle
public interface WritableRectangle extends WritablePoint, WritableDimension
Modifier and Type | Method | 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
|
setHeight, setSize, setSize, setWidth
setLocation, setLocation, setX, setY
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.