Documentation
Reference
2.1.56 (current version)
collection
interactivityModel
Interfaces

IGeometryEditor

Extends ICustomizable, IEventEmitter.

Interface for the geometry editor.

Constructor | Fields | Events | Methods

Constructor

IGeometryEditor()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

geometryIGeometry

The geometry being edited.

optionsIOptionManager

Options manager.

Inherited from ICustomizable.

stateIDataManager

State of the geometry editor.

Events

NameDescription
optionschange

Change to the object options.

Inherited from ICustomizable.

statechange

Change to the geometry editor state. Instance of the Event class.

Methods

NameDescription
startEditing()

Enables editing mode.

stopEditing()

Disables editing mode.

Fields details

geometry

{IGeometry} geometry

The geometry being edited.

state

{IDataManager} state

State of the geometry editor.

Events details

statechange

Change to the geometry editor state. Instance of the Event class.

Methods details

startEditing

{} startEditing()

Enables editing mode.

stopEditing

{} stopEditing()

Disables editing mode.