iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIEasingFunctionBase
@interface SCIEasingFunctionBase : NSObject <ISCIEasingFunction>
Defines the Base class for easing functions in SciChart.
-
Specifies the easing behavior.
Note
defaut isSCIEasingMode.SCIEasingMode_EaseInOut.Declaration
Objective-C
@property (nonatomic) SCIEasingMode easingMode;Swift
var easingMode: SCIEasingMode { get set } -
Transforms normalized time to control the pace of an animation for the
SCIEasingMode_EaseIn.Note
You only have to specifiy your easing function for the ‘SCIEasingMode.SCIEasingMode_EaseIn’ case because the implementation of Ease will handle transformingnormalizedTime& the result of this method to handleSCIEasingMode.SCIEasingMode_EaseOut&SCIEasingMode.SCIEasingMode_EaseInOut.Declaration
Objective-C
- (double)easeInInternalWithNormalizedTime:(double)normalizedTime;Swift
func easeInInternal(withNormalizedTime normalizedTime: Double) -> DoubleParameters
normalizedTimeThe progress of the animation.
Return Value
Transformed progress of animation.
View on GitHub