public class ShapeAttribute extends Object
| Constructor and Description |
|---|
ShapeAttribute() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColor() |
double |
getLineWidth() |
double |
getScretchFactor() |
int |
getTextureResourceHeight() |
String |
getTextureResourceName() |
int |
getTextureResourceWidth() |
boolean |
isPatterned() |
void |
setColor(int color) |
void |
setLineWidth(double lineWidth) |
void |
setPatterned(boolean isPatterned) |
void |
setStretchFactor(double stretchFactor) |
void |
setTextureResourceHeight(int textureResourceHeight) |
void |
setTextureResourceName(String textureResourceName) |
void |
setTextureResourceWidth(int textureResourceWidth) |
org.json.JSONObject |
toJson() |
public int getColor()
public void setColor(int color)
public double getLineWidth()
public void setLineWidth(double lineWidth)
public double getScretchFactor()
public void setStretchFactor(double stretchFactor)
public int getTextureResourceHeight()
public void setTextureResourceHeight(int textureResourceHeight)
public int getTextureResourceWidth()
public void setTextureResourceWidth(int textureResourceWidth)
public String getTextureResourceName()
public void setTextureResourceName(String textureResourceName)
public boolean isPatterned()
public void setPatterned(boolean isPatterned)
public org.json.JSONObject toJson()
throws org.json.JSONException
org.json.JSONException