| java.lang.Object | ||
| ↳ | com.esri.core.symbol.LineSymbol | |
| ↳ | com.esri.core.symbol.SimpleLineSymbol | |
Used to draw linear features on the graphics layer.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | SimpleLineSymbol.STYLE | The simple line style
DASH dash line. |
|||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | TYPE | The Constant TYPE. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SimpleLineSymbol(JsonNode node)
Instantiates an object of SimpleLineSymbol from a JsonNode.
| |||||||||||
|
SimpleLineSymbol(int color, float width)
Instantiates a SimpleLineSymbol with the given color and width.
| |||||||||||
|
SimpleLineSymbol(int color, float width, SimpleLineSymbol.STYLE style)
Instantiates a SimpleLineSymbol with the given color, width, and style.
| |||||||||||
|
SimpleLineSymbol(SimpleLineSymbol symbol)
Instantiates the SimpleLineSymbol from specified SimpleLineSymbol object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Symbol | copy() | ||||||||||
| boolean | equals(Object obj) | ||||||||||
| SimpleLineSymbol.STYLE |
getStyle()
Gets the line style.
| ||||||||||
| int | hashCode() | ||||||||||
| void |
setStyle(SimpleLineSymbol.STYLE style)
Sets the line style.
| ||||||||||
| String | toJson() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.symbol.LineSymbol
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.esri.core.symbol.Symbol
| |||||||||||
Instantiates an object of SimpleLineSymbol from a JsonNode.
| node | the SimpleLineSymbol node. |
|---|
| Exception | the exception |
|---|
Instantiates a SimpleLineSymbol with the given color and width.
| color | the line color. |
|---|---|
| width | the line width. |
Instantiates a SimpleLineSymbol with the given color, width, and style.
| color | the line color. |
|---|---|
| width | the line width. |
| style | the line style. |
Instantiates the SimpleLineSymbol from specified SimpleLineSymbol object.
| symbol | the specified SimpleLineSymbolObject. |
|---|
Gets the line style.
SimpleLineSymbol.STYLE constant.Sets the line style.
| style | SimpleLineSymbol.STYLE constant. |
|---|