Type alias EasingFunction

GoJS® Diagramming Components
version 3.0.1
by Northwoods Software®

Type declaration

    • (currentTime: number, startValue: number, byValue: number, duration: number): number
    • An EasingFunction describes how much to modify a scalar value based on the current time, the start value, the change in value, and the duration.

      Parameters

      • currentTime: number
      • startValue: number
      • byValue: number
      • duration: number

      Returns number