Class

Edit

Edit()

Constructor

# new Edit()

编辑基础类

Author:
  • xyj

Members

Object

# readonly editGraphicTool

编辑工具

editGraphicTool

# readonly editGraphicTool

编辑工具类

Methods

# start(plot, options) → {Edit}

编辑激活

Parameters:
Name Type Attributes Description
plot Object

编辑参数

viewer Viewer <optional>

场景对象

layer Layer <optional>

场景图层

options Object

图形属性

  • 当前对象
Edit

# stop() → {Edit}

停止编辑

  • 当前对象
Edit

Edit(graphic)

Constructor

# new Edit(graphic)

编辑图像

Parameters:
Name Type Description
graphic Graphic

需要编辑的图形

Author:
  • xyj

Members

Object

# readonly editGraphicTool

编辑工具

editGraphicTool

# readonly editGraphicTool

编辑工具类

Methods

# start(plot, options) → {Edit}

编辑激活

Parameters:
Name Type Attributes Description
plot Object

编辑参数

viewer Viewer <optional>

场景对象

layer Layer <optional>

场景图层

options Object

图形属性

  • 当前对象
Edit

# stop() → {Edit}

停止编辑

  • 当前对象
Edit