protected static class ButtonsPanel.Rectangle extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
botLeftX
The bottom left coordinate of this rectangle (in number of cells), in
SquidLib's coordinates.
|
protected int |
botLeftY
The bottom left coordinate of this rectangle (in number of cells), in
SquidLib's coordinates.
|
protected int |
height
The height of this rectangle, in number of cells
|
protected int |
width
The width of this rectangle, in number of cells
|
Constructor and Description |
---|
Rectangle(int botLeftX,
int botLeftY,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
protected void |
setWidth(int width)
To call when scrolling happens, and a button's text changes.
|
String |
toString() |
protected final int botLeftX
protected final int botLeftY
protected int width
protected final int height
public Rectangle(int botLeftX, int botLeftY, int width, int height)
Copyright © 2012–2016. All rights reserved.