|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.symbol.MarkerSymbol com.esri.core.symbol.PictureMarkerSymbol
public class PictureMarkerSymbol
Used to draw points and multipoints on the graphics layer using an image. The image can be either a Drawable object or an image referenced by URL.
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
PictureMarkerSymbol(android.graphics.drawable.Drawable drawable)
Instantiates a PictureMarkerSymbol with a Drawable image. |
|
PictureMarkerSymbol(org.codehaus.jackson.JsonNode node)
Instantiates an object of PictureMarkerSymbol from a JsonNode. |
|
PictureMarkerSymbol(PictureMarkerSymbol symbol)
|
|
PictureMarkerSymbol(String pictureUrl)
Instantiates a PictureMarkerSymbol with a URL of an image. |
Method Summary | |
---|---|
Symbol |
copy()
Gets a copy of this Symbol object. |
boolean |
equals(Object obj)
|
android.graphics.drawable.Drawable |
getDrawable()
Returns the Drawable of the PictureMarkerSymbol. |
int |
hashCode()
|
String |
toJson()
Converts the symbol to a Json String. |
Methods inherited from class com.esri.core.symbol.MarkerSymbol |
---|
getAngle, getHeight, getOffsetX, getOffsetY, getWidth, setAngle, setOffsetX, setOffsetY |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public PictureMarkerSymbol(org.codehaus.jackson.JsonNode node) throws Exception
node
- the PictureMarkerSymbol node.
Exception
public PictureMarkerSymbol(android.graphics.drawable.Drawable drawable)
Drawable
image.
drawable
- the image.public PictureMarkerSymbol(PictureMarkerSymbol symbol)
public PictureMarkerSymbol(String pictureUrl) throws MalformedURLException, IOException
pictureUrl
- the image URL.
MalformedURLException
IOException
Method Detail |
---|
public android.graphics.drawable.Drawable getDrawable()
public int hashCode()
hashCode
in class MarkerSymbol
public boolean equals(Object obj)
equals
in class MarkerSymbol
public String toJson() throws Exception
Symbol
Exception
public Symbol copy() throws Exception
Symbol
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |