public final class Coordinates extends BaseCoordinate
| Constructor | Description |
|---|---|
Coordinates(int widthValue,
int heightValue,
int leftValue,
int topValue) |
Full constructor.
|
Coordinates(int width,
int height,
Position position) |
|
Coordinates(Size size,
int leftValue,
int topValue) |
Full constructor.
|
Coordinates(Size size,
Position position) |
Full constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Coordinates |
copy() |
|
Size |
getSize() |
contains, equals, hashCode, toStringpublic Coordinates(int widthValue,
int heightValue,
int leftValue,
int topValue)
widthValue - Width coordinate.heightValue - Height coordinate.leftValue - Left coordinate.topValue - Top coordinate.public Coordinates(Size size, int leftValue, int topValue)
size - Width and height coordinates.leftValue - Left coordinate.topValue - Top coordinate.public Coordinates(Size size, Position position)
size - Width and height coordinates.position - Left and top coordinates.public Coordinates(int width,
int height,
Position position)
public Coordinates copy()
public Size getSize()
Copyright © 2014–2018. All rights reserved.