CenteredZoomState
Extends:
src/states/base-state~BaseState → CenteredZoomState
CenteredZoomState
is a timeline state mimicing the Live
zoom interaction. It allows the user to browse the timeline by clicking on a track, and then
- moving down to zoom in
- moving up to zoom out
- moving left to move in time, after
- moving right to move in time, before
Constructor Summary
Public Constructor | ||
public |
constructor(timeline: *) |
Member Summary
Public Members | ||
public |
currentLayer: * |
|
public |
initialY: * |
|
public |
initialZoom: * |
|
public |
maxZoom: * |
|
public |
minZoom: * |
Method Summary
Public Methods | ||
public |
handleEvent(e: *) |
|
public |
onMouseDown(e: *) |
|
public |
onMouseMove(e: *) |
|
public |
onMouseUp(e: *) |
Public Constructors
public constructor(timeline: *) source
Params:
Name | Type | Attribute | Description |
timeline | * |
Public Members
public currentLayer: * source
public initialY: * source
public initialZoom: * source
public maxZoom: * source
public minZoom: * source
Public Methods
public handleEvent(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseMove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseUp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |