java.lang.Object | |
↳ | com.esri.core.symbol.MarkerSymbol |
Known Direct Subclasses |
The base class for all the marker symbol. Use its subclasses, SimpleMarkerSymbol or PictureMarkerSymbol, directly to draw points and multipoints on the graphics layer.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MarkerSymbol(JsonNode node)
Instantiates an object of MarkerSymbol from a JsonNode.
| |||||||||||
MarkerSymbol(MarkerSymbol symbol)
Creates a new MarkerSymbol.
| |||||||||||
MarkerSymbol()
Instantiates an empty object of MarkerSymbol.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
float |
getAngle()
Gets the angle.
| ||||||||||
float |
getHeight()
Returns the height of the marker in dp unit.
| ||||||||||
float |
getOffsetX()
Gets the offset along x-axis.
| ||||||||||
float |
getOffsetY()
Gets the offset along y-axis.
| ||||||||||
float |
getWidth()
Returns the width of the marker in dp unit.
| ||||||||||
int | hashCode() | ||||||||||
void |
setAngle(float angle)
Sets the angle.
| ||||||||||
void |
setOffsetX(float offsetX)
Sets the offset along x-axis.
| ||||||||||
void |
setOffsetY(float offsetY)
Sets the offset along y-axis.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
setHeight(float height)
Sets the height of the marker in dp unit.
| ||||||||||
void |
setWidth(float width)
Sets the width of the marker in dp unit.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.esri.core.symbol.Symbol
|
Instantiates an object of MarkerSymbol from a JsonNode.
node | the MarkerSymbol node. |
---|
Creates a new MarkerSymbol.
symbol | an MarkerSymbol object. |
---|
Instantiates an empty object of MarkerSymbol.
Gets the angle.
Returns the height of the marker in dp unit.
Gets the offset along x-axis. The MarkerSymbol adheres to a point feature. The offset specifies the distance between the point and the symbol anchor point along x-axis in dp unit.
Gets the offset along y-axis. The MarkerSymbol adheres to a point feature. The offset specifies the distance between the point and the symbol anchor point along y-axis in dp unit.
Returns the width of the marker in dp unit.
Sets the angle.
angle | the angle in degree. |
---|
Sets the offset along x-axis. The MarkerSymbol adheres to a point feature. The offset specifies the distance between the point and the symbol anchor point along x-axis in dp unit.
offsetX | the offset along x-axis in dp unit. |
---|
Sets the offset along y-axis. The MarkerSymbol adheres to a point feature. The offset specifies the distance between the point and the symbol anchor point along y-axis in dp unit.
offsetY | the offset along y-axis in dp unit. |
---|
Sets the height of the marker in dp unit.
height | the marker height in dp unit. |
---|
Sets the width of the marker in dp unit.
width | the width in dp unit. |
---|