Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces
2.1.51 (release candidate)
collection
interactivityModel
Interfaces

IGeometryEditorRootModel

Extends IGeometryEditorModel.

Interface for the root data model.

Constructor | Fields | Methods

Constructor

IGeometryEditorRootModel(geometry, editor)

Parameters:

ParameterDefault valueDescription
geometry *
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IGeometry

The geometry being edited.

editor *
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IGeometryEditor

Link to the geometry editor.

* Mandatory parameter/option.

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

Methods

NameReturnsDescription
destroy()

Destructor.

Inherited from IGeometryEditorModel.

getPixels()

Number[]

Returns the model's pixel data.

Inherited from IGeometryEditorModel.