Package com.cloudinary
Class Coordinates
java.lang.Object
com.cloudinary.Coordinates
- All Implemented Interfaces:
java.io.Serializable
public class Coordinates
extends java.lang.Object
implements java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Coordinates()Coordinates(int[] rect)Coordinates(Rectangle rect)Coordinates(java.lang.String stringCoords)Coordinates(java.util.Collection<Rectangle> coordinates) -
Method Summary
Modifier and Type Method Description voidaddRect(Rectangle rect)static CoordinatesparseCoordinates(java.lang.Object coordinates)java.lang.StringtoString()java.util.Collection<Rectangle>underlaying()
-
Constructor Details
-
Coordinates
public Coordinates() -
Coordinates
-
Coordinates
public Coordinates(int[] rect) -
Coordinates
-
Coordinates
public Coordinates(java.lang.String stringCoords) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
-
Method Details
-
parseCoordinates
public static Coordinates parseCoordinates(java.lang.Object coordinates) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
addRect
-
underlaying
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-