@cccode/fxr - v31.0.0
    Preparing search index...

    Class HermiteKeyframe<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    position: number
    t1: T
    t2: T
    value: T

    Methods

    • Creates a new keyframe with an easing function that starts slow, speeds up towards the midpoint, and slows down towards the end.

      Similar to easeInOut, but this starts slightly faster.

      Type Parameters

      Parameters

      • position: number
      • value: T

      Returns HermiteKeyframe<T>

    • Creates a new keyframe with an easing function that starts slow, speeds up towards the midpoint, and slows down towards the end.

      Similar to ease, but this starts slightly slower.

      Type Parameters

      Parameters

      • position: number
      • value: T

      Returns HermiteKeyframe<T>

    • Creates a new keyframe with an easing function that starts very slow, but speeds up very quickly near the end.

      Type Parameters

      Parameters

      • position: number
      • value: T

      Returns HermiteKeyframe<T>