| Modifier and Type | Class and Description |
|---|---|
static class |
Shape.ShapeType |
| Constructor and Description |
|---|
Shape(Shape.ShapeType type) |
| Modifier and Type | Method and Description |
|---|---|
ShapeAttribute |
getAttribute() |
ArrayList<android.location.Location> |
getPath() |
Shape.ShapeType |
getType() |
void |
setAttribute(ShapeAttribute attribute) |
void |
setPath(ArrayList<android.location.Location> path) |
org.json.JSONObject |
toJson() |
int |
typeValue(Shape.ShapeType type) |
public Shape(Shape.ShapeType type)
public int typeValue(Shape.ShapeType type)
public ArrayList<android.location.Location> getPath()
public void setPath(ArrayList<android.location.Location> path)
public ShapeAttribute getAttribute()
public void setAttribute(ShapeAttribute attribute)
public Shape.ShapeType getType()
public org.json.JSONObject toJson()
throws org.json.JSONException
org.json.JSONException