|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.
| Nested Class Summary | |
|---|---|
static class |
SimpleFillSymbol.Style
The fill style. |
| Field Summary | |
|---|---|
static String |
TYPE
|
| Constructor Summary | |
|---|---|
SimpleFillSymbol(Color color)
Instantiates an object of SimpleFillSymbol with the given color. |
|
SimpleFillSymbol(Color color,
SimpleLineSymbol simpleLineSymbol)
Instantiates an object of SimpleFillSymbol with given color and line symbol. |
|
SimpleFillSymbol(Color color,
SimpleLineSymbol simpleLineSymbol,
SimpleFillSymbol.Style style)
Instantiates an object of SimpleFillSymbol with given color, line symbol, and style of fill. |
|
SimpleFillSymbol(org.codehaus.jackson.JsonNode node)
Instantiates an object of SimpleFillSymbol from a JsonNode. |
|
| Method Summary | |
|---|---|
Symbol |
copy()
Gets a copy of this Symbol object. |
boolean |
equals(Object obj)
|
SimpleFillSymbol.Style |
getStyle()
Gets the fill style. |
int |
hashCode()
|
void |
setStyle(SimpleFillSymbol.Style style)
Sets the fill style. |
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 |
|---|
clone, finalize, 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.
Exceptionpublic SimpleFillSymbol(Color color)
color - an ARGB color.
public SimpleFillSymbol(Color color,
SimpleLineSymbol simpleLineSymbol)
color - color to be used in fill.simpleLineSymbol - outline symbol.
public SimpleFillSymbol(Color color,
SimpleLineSymbol simpleLineSymbol,
SimpleFillSymbol.Style style)
color - color to be used in fill.simpleLineSymbol - outline symbol.style - fill style.| Method Detail |
|---|
public void setStyle(SimpleFillSymbol.Style style)
style - one of the SimpleFillSymbol.Style.public SimpleFillSymbol.Style getStyle()
public String toJson()
throws Exception
Symbol
Exceptionpublic int hashCode()
hashCode in class FillSymbolpublic 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 | |||||||||