EditRectangle

new mars2d.graphic.EditRectangle(options)

矩形 编辑处理类,内部使用

参数名称 类型 描述信息
options Object 可选

编辑控制参数(moveIcon/resizeIcon/rotateIcon,均为 L.DivIcon)

继承自

方法

disable() → BaseEditSimpleShape

停止编辑

返回值:

当前对象本身,可以链式调用

继承自:

enable() → BaseEditSimpleShape

开始编辑

返回值:

当前对象本身,可以链式调用

继承自:

updateMarkers() → BaseEditSimpleShape

更新所有编辑点marker

返回值:

当前对象本身,可以链式调用

继承自: