public class MarkerSymbol extends Symbol
Modifier and Type | Method and Description |
---|---|
int |
getAngle()
The angle of the image.
|
int |
getSize()
Size of the marker in pixels.
|
int |
getXOffset()
The offset on the x-axis in pixels.
|
int |
getYOffset()
The offset on the y-axis in pixels.
|
MarkerSymbol |
setAngle(int angle)
Sets the angle of a marker.
|
MarkerSymbol |
setOffset(int x,
int y)
Sets the x and y offset of a marker in screen units.
|
MarkerSymbol |
setSize(int size)
Sets the size of a marker in pixels.
|
fromJson, getColor, getType, setColor, toJson
public final int getAngle()
public final int getSize()
public final int getXOffset()
public final int getYOffset()
public final MarkerSymbol setAngle(int angle)
angle
- - The angle value. 0 is pointing right and values progress clockwise.public final MarkerSymbol setOffset(int x, int y)
x
- - The X offset value in pixels.y
- - The Y offset value in pixels.public final MarkerSymbol setSize(int size)
size
- - The width of the symbol in pixels.