Top Description Methods
org.lwjgl.util

public Interface WritableRectangle

extends WritablePoint, WritableDimension
Known Direct Implementers
org.lwjgl.util.Rectangle

Write interface for Rectangles
Author
$Author$
Version
$Revision$ $Id$

Method Summary

Modifier and TypeMethod and Description
public void
setBounds(int
Position of rectangle on x axis
x
,
int
Position of rectangle on y axis
y
,
int
Width of rectangle
width
,
int
Height of rectangle
height
)

Sets the bounds of the rectangle

public void
setBounds(ReadablePoint location, ReadableDimension size)

Sets the bounds of the rectangle

public void
setBounds(ReadableRectangle src)

Sets the bounds of the rectangle

Inherited from org.lwjgl.util.WritableDimension:
setHeightsetSizesetSizesetWidth
Inherited from org.lwjgl.util.WritablePoint:
setLocationsetLocationsetXsetY

Method Detail

setBoundsback to summary
public void setBounds(int x, int y, int width, int height)

Sets the bounds of the rectangle

Parameters
x:int

Position of rectangle on x axis

y:int

Position of rectangle on y axis

width:int

Width of rectangle

height:int

Height of rectangle

setBoundsback to summary
public void setBounds(ReadablePoint location, ReadableDimension size)

Sets the bounds of the rectangle

setBoundsback to summary
public void setBounds(ReadableRectangle src)

Sets the bounds of the rectangle