Class. Morph Edges Animation
protected
model:SModelRootImpl
Defined in: packages/sprotty/src/features/move/move.ts:334
protected
reverse:boolean
=false
Defined in: packages/sprotty/src/features/move/move.ts:337
protected
stopped:boolean
=false
Defined in: packages/sprotty/src/base/animations/animation.ts:30
protected
growToSize(route
,targetSize
):Point
[]
Defined in: packages/sprotty/src/features/move/move.ts:398
number
Point
[]
protected
midPoint(edgeMemento
):Point
Defined in: packages/sprotty/src/features/move/move.ts:353
Point
start():
Promise
<SModelRootImpl
>
Defined in: packages/sprotty/src/features/move/move.ts:363
Promise
<SModelRootImpl
>
stop():
void
Defined in: packages/sprotty/src/base/animations/animation.ts:74
Stop the animation at the current state. The promise returned by start() will be resolved with the current state after the next tweening step.
void
tween(
t
):SModelRootImpl
Defined in: packages/sprotty/src/features/move/move.ts:370
This method called by the animation at each rendering pass until the duration is reached. Implement it to interpolate the state.
number
varies between 0 (start of animation) and 1 (end of animation)