# EditTool

#### new Cesium.EditTool(viewer, graphicsLayer, options)
MapGIS/Tools/GraphciTool/EditTool.js 30

标绘编辑工具

Name | Type | Description
--- | --- | ---
`viewer` | Viewer |
`graphicsLayer` | Object |
`options` | Object |

### Members

#### readonly pickingGraphic : Graphic
MapGIS/Tools/GraphciTool/EditTool.js 74

返回当前选中图形

#### readonly state : Graphic
MapGIS/Tools/GraphciTool/EditTool.js 85

返回当前选中图形

### Methods

#### active()
MapGIS/Tools/GraphciTool/EditTool.js 729

激活编辑工具

#### activeRotationMode()
MapGIS/Tools/GraphciTool/EditTool.js 311

开启旋转编辑模式

#### activeScaleMode()
MapGIS/Tools/GraphciTool/EditTool.js 342

开启缩放编辑模式

#### activeTranslationMode()
MapGIS/Tools/GraphciTool/EditTool.js 329

开启平移编辑模式

#### destroy()
MapGIS/Tools/GraphciTool/EditTool.js 842

销毁编辑工具,清除编辑点

#### mouseMoveEvent()
MapGIS/Tools/GraphciTool/EditTool.js 663

鼠标拖动更新图形事件

#### startEdit()
MapGIS/Tools/GraphciTool/EditTool.js 746

激活编辑工具

#### stop()
MapGIS/Tools/GraphciTool/EditTool.js 776

关闭编辑工具

#### stopEdit()
MapGIS/Tools/GraphciTool/EditTool.js 808

取消编辑状态，清除选择

#### toggleNonUniformScaling()
MapGIS/Tools/GraphciTool/EditTool.js 355

开启等比缩放编辑模式

#### undo()
MapGIS/Tools/GraphciTool/EditTool.js 771

撤销