Type alias EasingFunction

GoJS® Diagramming Components
version 3.0.16
by Northwoods Software®

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.

Type declaration

    • (currentTime: number, startValue: number, byValue: number, duration: number): number
    • Parameters

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

      Returns number