Constructor
new WindowLevel(center, width)
Name | Type | Description |
---|---|---|
center | number | The window center. |
width | number | The window width. |
- Source
Classes
Members
center :number
The window center.
- number
- Source
dblclick
Handle double click event.
- Source
keydown
Handle key down event.
- Source
mousedown
Handle mouse down event.
- Source
mousemove
Handle mouse move event.
- Source
mouseout
Handle mouse out event.
- Source
mouseup
Handle mouse up event.
- Source
touchend
Handle touch end event.
- Source
touchmove
Handle touch move event.
- Source
touchstart
Handle touch start event.
- Source
wheel
Handle mouse wheel event.
- Source
width :number
The window width.
- number
- Source
Methods
activate(_bool)
Activate the tool.
Name | Type | Description |
---|---|---|
_bool | boolean | The flag to activate or not. |
- Source
equals(rhs) → {boolean}
Check for equality.
Name | Type | Description |
---|---|---|
rhs | WindowLevel | The other object to compare to. |
- Source
True if both objects are equal.
- Type:
- boolean
init()
Initialise the tool.
- Source
setFeatures(_features)
Set the tool live features: does nothing.
Name | Type | Description |
---|---|---|
_features | object | The list of features. |
- Source