|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.symbol.FillSymbol com.esri.core.symbol.SimpleFillSymbol
public class SimpleFillSymbol
Used to draw polygon features on the graphics layer using simple patterns. SimpleFillSymbol can be solid, transparent, and so on. In addition, the symbol can optionally have an outline, which is defined by a line symbol.
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
SimpleFillSymbol(int color)
Instantiates an object of SimpleFillSymbol with the given color. |
|
SimpleFillSymbol(org.codehaus.jackson.JsonNode node)
Instantiates an object of SimpleFillSymbol from a JsonNode. |
|
SimpleFillSymbol(SimpleFillSymbol symbol)
Clones a new SimpleFillSymbol object with the given SimpleFillSymbol. |
Method Summary | |
---|---|
Symbol |
copy()
Gets a copy of this Symbol object. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toJson()
Converts the symbol to a Json String. |
Methods inherited from class com.esri.core.symbol.FillSymbol |
---|
getAlpha, getColor, getOutline, setAlpha, setColor, setOutline |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public SimpleFillSymbol(org.codehaus.jackson.JsonNode node) throws Exception
node
- the SimpleFillSymbol node.
Exception
public SimpleFillSymbol(int color)
color
- an ARGB color.public SimpleFillSymbol(SimpleFillSymbol symbol) throws Exception
symbol
- a SimpleFillSymbol object.
Exception
Method Detail |
---|
public String toJson() throws Exception
Symbol
Exception
public int hashCode()
hashCode
in class FillSymbol
public boolean equals(Object obj)
equals
in class FillSymbol
public Symbol copy() throws Exception
Symbol
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |