|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.symbol.MarkerSymbol
public abstract class MarkerSymbol
The base class for all the marker symbol. Use its subclasses, SimpleMarkerSymbol or PictureMarkerSymbol, directly to draw points and multipoints on the graphics layer.
Constructor Summary | |
---|---|
MarkerSymbol()
Instantiates an empty object of MarkerSymbol. |
|
MarkerSymbol(org.codehaus.jackson.JsonNode node)
Instantiates an object of MarkerSymbol from a JsonNode. |
|
MarkerSymbol(MarkerSymbol symbol)
Creates a new MarkerSymbol. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
float |
getAngle()
Gets the angle. |
float |
getHeight()
Returns the height of the marker in dp unit. |
float |
getOffsetX()
Gets the offset along x-axis. |
float |
getOffsetY()
Gets the offset along y-axis. |
float |
getWidth()
Returns the width of the marker in dp unit. |
int |
hashCode()
|
void |
setAngle(float angle)
Sets the angle. |
void |
setOffsetX(float offsetX)
Sets the offset along x-axis. |
void |
setOffsetY(float offsetY)
Sets the offset along y-axis. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.core.symbol.Symbol |
---|
copy, toJson |
Constructor Detail |
---|
public MarkerSymbol(org.codehaus.jackson.JsonNode node)
node
- the MarkerSymbol node.public MarkerSymbol(MarkerSymbol symbol)
symbol
- an MarkerSymbol object.public MarkerSymbol()
Method Detail |
---|
public float getAngle()
public void setAngle(float angle)
angle
- the angle in degree.public float getWidth()
public float getHeight()
public float getOffsetX()
public void setOffsetX(float offsetX)
offsetX
- the offset along x-axis in dp unit.public float getOffsetY()
public void setOffsetY(float offsetY)
offsetY
- the offset along y-axis in dp unit.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |