Class: GraphicTransformTool

GraphicTransformTool

new GraphicTransformTool(graphic, options)

engineExtensions/tools/GraphicTransformTool.js, line 4

基础标绘变换工具集

Name Type Description
graphic Graphic

标绘对象对象,详见Graphic

options Object
Name Type Description
mouseUp Object 可选

鼠标左键抬起事件

mouseMove Object 可选

鼠标移动事件

mouseDown Object 可选

鼠标左键按下事件

Methods

activeRotationEditor()

engineExtensions/tools/GraphicTransformTool.js, line 96

激活可视化旋转工具

activeTranslationEditor()

engineExtensions/tools/GraphicTransformTool.js, line 109

激活可视化平移工具

deactivate()

engineExtensions/tools/GraphicTransformTool.js, line 122

隐藏可视化工具

destroy()

engineExtensions/tools/GraphicTransformTool.js, line 132

销毁可视化工具

initEditor()

engineExtensions/tools/GraphicTransformTool.js, line 38

可视化旋转工具

setGraphic(graphic)

engineExtensions/tools/GraphicTransformTool.js, line 30

设置要变换的标会对象

Name Type Description
graphic Graphic

标绘对象对象,详见Graphic