public class Position
extends java.lang.Object
view.| Modifier and Type | Field and Description |
|---|---|
int |
height |
int |
left |
int |
originalHeight |
int |
originalWidth |
int |
top |
int |
width |
| Constructor and Description |
|---|
Position()
Constructs a new instance with default values (zero).
|
Position(int left,
int top,
int width,
int height,
int originalWidth,
int originalHeight)
Constructs a new instance with the given relative positions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public int left
public int top
public int width
public int height
public int originalWidth
public int originalHeight
public Position()
public Position(int left,
int top,
int width,
int height,
int originalWidth,
int originalHeight)
left - The X coordinate of the left side of the object.top - The Y coordinate of the top of the object.width - The current visible width of the object (view).height - The current visible height of the object (view).originalWidth - The original width of the object (view).originalHeight - The original height of the object (view).