public final class Circle extends Overlay
| Modifier and Type | Method and Description |
|---|---|
LatLng |
getCenter()
获取圆心坐标
|
int |
getFillColor()
获取填充颜色
|
int |
getRadius()
获取圆的半径,单位:米
|
Stroke |
getStroke()
获取圆的边框信息
|
void |
setCenter(LatLng center)
设置圆心坐标
|
void |
setFillColor(int color)
设置圆填充颜色
|
void |
setRadius(int radius)
设置圆的半径
|
void |
setStroke(Stroke stroke)
设置圆的边框信息
|
getExtraInfo, getZIndex, isVisible, remove, setExtraInfo, setVisible, setZIndexpublic LatLng getCenter()
public int getFillColor()
public int getRadius()
public Stroke getStroke()
public void setCenter(LatLng center)
center - 圆心坐标public void setFillColor(int color)
color - 圆填充颜色public void setRadius(int radius)
radius - 圆的半径public void setStroke(Stroke stroke)
stroke - 圆的边框信息