# GraphicTransformTool

#### new Cesium.GraphicTransformTool(graphic, options)
MapGIS/Tools/GraphicTransformTool.js 17

基础标绘变换工具集

Name | Type | Description
--- | --- | ---
`graphic` | Graphic | 标绘对象对象，详见`Graphic`
`options` | Object |
Name | Type | Description
--- | --- | ---
`mouseUp` | Object | optional 鼠标左键抬起事件
`mouseMove` | Object | optional 鼠标移动事件
`mouseDown` | Object | optional 鼠标左键按下事件

Author:
  - 基础平台-杨琨

### Methods

#### activeRotationEditor()
MapGIS/Tools/GraphicTransformTool.js 89

激活可视化旋转工具

#### activeTranslationEditor()
MapGIS/Tools/GraphicTransformTool.js 102

激活可视化平移工具

#### deactivate()
MapGIS/Tools/GraphicTransformTool.js 115

隐藏可视化工具

#### destroy()
MapGIS/Tools/GraphicTransformTool.js 125

销毁可视化工具

#### initEditor()
MapGIS/Tools/GraphicTransformTool.js 39

可视化旋转工具

#### setGraphic(graphic)
MapGIS/Tools/GraphicTransformTool.js 31

设置要变换的标会对象

Name | Type | Description
--- | --- | ---
`graphic` | Graphic | 标绘对象对象，详见`Graphic`