IGeometryEditorModel
Extends IEventEmitter.
Interface for the data model of the geometry editor.
Constructor | Fields | Methods
Constructor
IGeometryEditorModel(geometry, editor)
Parameters:
Parameter |
Default value |
Description |
— |
Type: IBaseGeometry The geometry being edited. |
|
— |
Type: IGeometryEditor Link to the geometry editor. |
* Mandatory parameter/option.
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
Methods
Name |
Returns |
Description |
destroy() |
Destructor. |
|
Number[] |
Returns the model's pixel data. |
Methods details
destroy
{} destroy()
Destructor.
getPixels
{Number[]} getPixels()
Returns the model's pixel data.
Mandatory parameter/option.