IGeometryEditorChildModel
Extends IGeometryEditorModel.
Interface for the child data model.
Constructor | Fields | Methods
Constructor
IGeometryEditorChildModel(geometry, editor, pixels, parent)
Parameters:
Parameter |
Default value |
Description |
— |
Type: IBaseGeometry The child geometry being edited. The IBaseGeometry interface is not aware of the pixelgeometrychange event, therefore, the pixel data is retrieved from the parent data model. |
|
— |
Type: IGeometryEditor Link to the geometry editor. |
|
— |
Type: Number[] The model's pixel data. |
|
— |
Type: IGeometryEditorModel The parent data model. |
* Mandatory parameter/option.
Fields
Name |
Type |
Description |
Geometry editor. |
||
Event manager. Inherited from IEventEmitter. |
||
Geometry of the model. |
Methods
Name |
Returns |
Description |
destroy() |
Destructor. Inherited from IGeometryEditorModel. |
|
Returns the parent data model. |
||
Number[] |
Returns the model's pixel data. Inherited from IGeometryEditorModel. |
|
Sets the model's pixel data. |
Fields details
editor
{IGeometryEditor} editor
Geometry editor.
geometry
{IBaseGeometry} geometry
Geometry of the model.
Methods details
getParent
{IGeometryEditorModel} getParent()
Returns the parent data model.
setPixels
{} setPixels(pixels)
Sets the model's pixel data.
Parameters:
Parameter |
Default value |
Description |
— |
Type: Number[] Pixel data. |
* Mandatory parameter/option.
Mandatory parameter/option.