public class Polygon
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getFillColor() |
long |
getId() |
int |
getOrder() |
int |
getOutlineColor() |
int |
getOutlineWidth() |
java.util.List<LngLat> |
getPoints() |
java.lang.Object |
getProperties() |
boolean |
isClickable() |
boolean |
isVisible() |
void |
remove() |
void |
setClickable(boolean clickable) |
void |
setFillColor(int fillColor) |
void |
setOrder(int order)
|
void |
setOutlineColor(int outlineColor) |
void |
setOutlineWidth(int outlineWidth) |
void |
setPoints(java.util.List<LngLat> lngLats) |
void |
setProperties(java.lang.Object properties) |
void |
setVisible(boolean visible) |
public void remove()
public long getId()
public void setPoints(java.util.List<LngLat> lngLats)
lngLats
- list of points on which polygon will be drawn.public java.util.List<LngLat> getPoints()
public void setOutlineWidth(int outlineWidth)
public int getOutlineWidth()
public void setOutlineColor(int outlineColor)
public int getOutlineColor()
public void setFillColor(int fillColor)
public int getFillColor()
public void setOrder(int order)
Polyline
, Polygon
, Circle
.
Shape with higher order will be on toporder
- draw orderpublic int getOrder()
public void setVisible(boolean visible)
public boolean isVisible()
public void setClickable(boolean clickable)
public boolean isClickable()
public java.lang.Object getProperties()
public void setProperties(java.lang.Object properties)