public class Coordinates extends Object
| Constructor and Description |
|---|
Coordinates() |
Coordinates(Collection<Rectangle> coordinates) |
Coordinates(int[] rect) |
Coordinates(Rectangle rect) |
Coordinates(String stringCoords) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRect(Rectangle rect) |
static Coordinates |
parseCoordinates(Object coordinates) |
String |
toString() |
Collection<Rectangle> |
underlaying() |
public Coordinates()
public Coordinates(Collection<Rectangle> coordinates)
public Coordinates(int[] rect)
public Coordinates(Rectangle rect)
public Coordinates(String stringCoords) throws IllegalArgumentException
IllegalArgumentExceptionpublic static Coordinates parseCoordinates(Object coordinates) throws IllegalArgumentException
IllegalArgumentExceptionpublic void addRect(Rectangle rect)
public Collection<Rectangle> underlaying()
Copyright © 2016. All Rights Reserved.