Package org.lwjgl.util
Interface WritableRectangle
- All Superinterfaces:
WritableDimension
,WritablePoint
- All Known Implementing Classes:
Rectangle
Write interface for Rectangles
- Version:
- $Revision$ $Id$
- Author:
- $Author$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBounds
(int x, int y, int width, int height) Sets the bounds of the rectanglevoid
setBounds
(ReadablePoint location, ReadableDimension size) Sets the bounds of the rectanglevoid
Sets the bounds of the rectangleMethods inherited from interface org.lwjgl.util.WritableDimension
setHeight, setSize, setSize, setWidth
Methods inherited from interface org.lwjgl.util.WritablePoint
setLocation, setLocation, setX, setY
-
Method Details
-
setBounds
void setBounds(int x, int y, int width, int height) Sets the bounds of the rectangle- Parameters:
x
- Position of rectangle on x axisy
- Position of rectangle on y axiswidth
- Width of rectangleheight
- Height of rectangle
-
setBounds
Sets the bounds of the rectangle- Parameters:
location
-size
-
-
setBounds
Sets the bounds of the rectangle- Parameters:
src
-
-