Decorator for IAnimation instances to allow for ease in
and ease out animation effects.
Namespace: yWorks.Canvas.AnimationAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public class EasedAnimation : IAnimation |
| Visual Basic |
|---|
Public Class EasedAnimation _ Implements IAnimation |
Remarks
The duration of the ease in and ease out is
determined by a mapping [0,1] -> [0,1]. The mapping has to be
increasing to preserve the order of the frames in the decorated animation.
In general, we consider continuously differentiable functions
CopyC#
where integral of f
CopyC# equals 1 a suitable choice for the mapping.
f'
Inheritance Hierarchy
System..::..Object
yWorks.Canvas.Animation..::..EasedAnimation
yWorks.Canvas.Animation..::..EasedAnimation