public interface Sizeable
| Modifier and Type | Method and Description | 
|---|---|
<T extends Sizeable> | 
addSizeChangeListener(SizeChangeListener<T> listener)
Adds a  
SizeChangeListener to be notified of size changes | 
float | 
getHeight()
Returns the height of this object 
 | 
int | 
getId()
Returns the unique id of this object 
 | 
float | 
getMaxX()
Returns max X coordinate of this object 
 | 
float | 
getMaxY()
Returns max Y coordinate of this object 
 | 
float | 
getMinX()
Returns min X coordinate of this object 
 | 
float | 
getMinY()
Returns min Y coordinate of this object 
 | 
float | 
getWidth()
Returns the width of this object 
 | 
<T extends Sizeable> | 
removeSizeChangeListener(SizeChangeListener<T> listener)
Removes a  
SizeChangeListener to stop it being notified of size
 changes | 
void | 
scale(float scale)
Scales the radius of this shape. 
 | 
void | 
setRadius(float radius)
Sets the radius of this shape. 
 | 
int getId()
float getWidth()
float getHeight()
void setRadius(float radius)
Polygon shapes, this will
 stretch in/out the shape from its center. Note that Polygons must
 be equilateral.radius - The radius in pixelsvoid scale(float scale)
Polygon shapes, this will
 stretch in/out the shape from its center. Note that Polygons must
 be equilateral.scale - The amount to scale by (e.g. 2.0 = double the size)float getMinX()
float getMinY()
float getMaxX()
float getMaxY()
<T extends Sizeable> void addSizeChangeListener(SizeChangeListener<T> listener)
SizeChangeListener to be notified of size changeslistener - The SizeChangeListener to add<T extends Sizeable> void removeSizeChangeListener(SizeChangeListener<T> listener)
SizeChangeListener to stop it being notified of size
 changeslistener - The SizeChangeListener to remove