public class Symbol
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static Symbol |
fromJson(com.google.gwt.core.client.JavaScriptObject json)
Converts input json into a symbol, returns null if the input json represents an unknown or unsupported symbol type.
|
Color |
getColor()
Symbol color.
|
java.lang.String |
getType()
The type of symbol.
|
Symbol |
setColor(Color color)
Sets the symbol color.
|
com.google.gwt.core.client.JavaScriptObject |
toJson()
Converts object to its ArcGIS Server JSON representation.
|
public final Color getColor()
public final java.lang.String getType()
public final Symbol setColor(Color color)
color
- - color to be set.public final com.google.gwt.core.client.JavaScriptObject toJson()
public static final Symbol fromJson(com.google.gwt.core.client.JavaScriptObject json)
json
- - input object.