Show / Hide Table of Contents

Class Linear

Inheritance
object
EasingBase
Linear
Inherited Members
EasingBase.Mode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.EasingFunctions
Assembly: SadConsole.dll
Syntax
[DataContract]
public class Linear : EasingBase

Constructors

Linear()

Declaration
public Linear()

Methods

Ease(double, double, double, double)

Called to apply an easing function to the value.

Declaration
public override double Ease(double time, double startingValue, double currentValue, double duration)
Parameters
Type Name Description
double time
double startingValue

The starting value.

double currentValue
double duration
Returns
Type Description
double

A calculated value.

Overrides
EasingBase.Ease(double, double, double, double)

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX