IGeometryEditorRootModel

Extends IGeometryEditorModel.

Interface for the root data model.

Constructor | Fields | Methods

Constructor

IGeometryEditorRootModel(geometry, editor)

Parameters:

Parameter

Default value

Description

geometry*

—

Type: IGeometry

The geometry being edited.

editor*

—

Type: IGeometryEditor

Link to the geometry editor.

* Mandatory parameter/option.

Fields

Name

Type

Description

events

IEventManager

Event manager.

Inherited from IEventEmitter.

Methods

Name

Returns

Description

destroy()

Destructor.

Inherited from IGeometryEditorModel.

getPixels()

Number[]

Returns the model's pixel data.

Inherited from IGeometryEditorModel.

In this article: