Package org.lwjgl.util
Interface WritableRectangle
-
- All Superinterfaces:
WritableDimension
,WritablePoint
- All Known Implementing Classes:
Rectangle
public interface WritableRectangle extends WritablePoint, WritableDimension
Write interface for Rectangles- Version:
- $Revision$ $Id$
- Author:
- $Author$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
setBounds(ReadableRectangle src)
Sets the bounds of the rectangle-
Methods inherited from interface org.lwjgl.util.WritableDimension
setHeight, setSize, setSize, setWidth
-
Methods inherited from interface org.lwjgl.util.WritablePoint
setLocation, setLocation, setX, setY
-
-
-
-
Method Detail
-
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
void setBounds(ReadablePoint location, ReadableDimension size)
Sets the bounds of the rectangle- Parameters:
location
-size
-
-
setBounds
void setBounds(ReadableRectangle src)
Sets the bounds of the rectangle- Parameters:
src
-
-
-