public final class Size extends BaseCoordinate
| Constructor | Description |
|---|---|
Size(int size) |
Full constructor.
|
Size(int width,
int height) |
Full constructor.
|
Size(BaseCoordinate coordinate) |
Full constructor.
|
public Size(BaseCoordinate coordinate)
coordinate - Coordination to extract size, left and top are set to 0.public Size(int size)
size - Width and height size.InvalidParameterException - if a value is negative.public Size(int width,
int height)
width - Width size.height - Height size.InvalidParameterException - if a value is negative.Copyright © 2014–2018. All rights reserved.