An abstract class defining a measurement.
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
An object with the following properties:
|
Members
Gets the icon.
Gets the id.
readonly instructions : Array.<String>
packages/ion-sdk-measurements/Source/Measure/Measurement.js 71
Gets the instruction text.
Gets selected units.
Gets the thumbnail.
Gets the type.
Methods
Destroys the widget.
Handles click events while performing a measurement.
Name | Type | Description |
---|---|---|
clickPosition |
Cartesian2 | The click position |
Handles double click events while performing a measurement.
Handles left down mouse events while performing a measurement.
Name | Type | Description |
---|---|---|
mousePosition |
Cartesian2 | The mouse position |
Handles left up mouse events while performing a measurement.
Name | Type | Description |
---|---|---|
mousePosition |
Cartesian2 | The mouse position |
Handles mouse move events while performing a measurement.
Name | Type | Description |
---|---|---|
mousePosition |
Cartesian2 | The mouse position |
Returns:
true if the object has been destroyed, false otherwise.
Resets the widget.