@PublicAPI public class ResizeControl extends Control
GraphicComponent
by changing the coordinates.Constructor and Description |
---|
ResizeControl(Monitor monitor)
Creates a new instance of ResizeControl
|
Modifier and Type | Method and Description |
---|---|
void |
control(int z)
Resizes the component in z direction uniformly which means that it will
either increase or decrease its size with one unit or do nothing
if the given value was positive, negative or zero.
|
void |
control(int x,
int y)
Resizes the component in x, y direction uniformly which means that it will
either increase or decrease its size with one unit or do nothing
if the given value was positive, negative or zero.
|
byte[] |
getColor()
Returns the color of the control.
|
getCenter, projectVector, setCenter, setComponent
public ResizeControl(Monitor monitor)
public void control(int z)
public void control(int x, int y)