java.lang.Object | ||
↳ | com.esri.core.symbol.FillSymbol | |
↳ | com.esri.core.symbol.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 Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | SimpleFillSymbol.STYLE | The fill style. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TYPE | The Constant TYPE. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SimpleFillSymbol(JsonNode node)
Instantiates an object of SimpleFillSymbol from a JsonNode.
| |||||||||||
SimpleFillSymbol(int color)
Instantiates an object of SimpleFillSymbol with the given color.
| |||||||||||
SimpleFillSymbol(int color, SimpleFillSymbol.STYLE style)
Instantiates an object of SimpleFillSymbol with the given color.
| |||||||||||
SimpleFillSymbol(SimpleFillSymbol symbol)
Clones a new SimpleFillSymbol object with the given SimpleFillSymbol.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Symbol | copy() | ||||||||||
boolean | equals(Object obj) | ||||||||||
SimpleFillSymbol.STYLE |
getStyle()
Gets the fill style.
| ||||||||||
int | hashCode() | ||||||||||
void |
setStyle(SimpleFillSymbol.STYLE style)
Sets the fill style.
| ||||||||||
String | toJson() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.symbol.FillSymbol
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.esri.core.symbol.Symbol
|
Instantiates an object of SimpleFillSymbol from a JsonNode.
node | the SimpleFillSymbol node. |
---|
Exception | the exception |
---|
Instantiates an object of SimpleFillSymbol with the given color.
color | an ARGB color. |
---|
Instantiates an object of SimpleFillSymbol with the given color.
color | an ARGB color. |
---|---|
style | fill style. |
Clones a new SimpleFillSymbol object with the given SimpleFillSymbol.
symbol | a SimpleFillSymbol object. |
---|
Exception | the exception |
---|
Sets the fill style.
style | one of the SimpleFillSymbol.STYLE . |
---|