public class DynamicCircle extends DynamicElement
DynamicElement.ElementType, DynamicElement.OnClickListener, DynamicElement.OnDownAndUpListener, DynamicElement.OnLongPressListener
构造器和说明 |
---|
DynamicCircle() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
fromGeometry(Geometry geometry)
根据
GeoCircle GeoCirle转换动态层圆对象 |
double |
getRadius()
获取半径大小
|
void |
setPoint(Point2D pt)
设置点
|
void |
setRadius(double radius)
设置圆形的半径大小
|
addAnimator, addPoint, dispose, getBounds, getGeoPoints, getID, getMinShowScale, getName, getNameColor, getNameOffsetX, getNameOffsetY, getNamePosition, getNameSize, getNameTextAlign, getOnDownAndUpListener, getOnLongPressListener, getPart, getStyle, getTag, getType, getUserData, isNameVisible, setMinShowScale, setName, setNameColor, setNameOffsetX, setNameOffsetY, setNamePosition, setNameSize, setNameTextAlign, setNameVisible, setOnClickListenner, setOnDownAndUpListener, setOnLongPressListener, setStyle, setTag, setUserData, updatePoint
public boolean fromGeometry(Geometry geometry)
GeoCircle
GeoCirle转换动态层圆对象fromGeometry
在类中 DynamicElement
geometry
- 地理元素。public void setRadius(double radius)
radius
- 半径大小public double getRadius()
public void setPoint(Point2D pt)
pt
- 中心点