Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Tween

Index

Constructors

constructor

  • Parameters

    • config: ITweenConfig
    • Optional easing: function
        • (t: number, b: number, c: number, d: number, a?: number, p?: number): number
        • Parameters

          • t: number
          • b: number
          • c: number
          • d: number
          • Optional a: number
          • Optional p: number

          Returns number

    Returns Tween

Properties

Private animation

animation: Animation

Private attrs

attrs: object

Private begin

begin: object

Private change

change: object

Private duration

duration: number

Private easing

easing: function

Type declaration

    • (t: number, b: number, c: number, d: number): number
    • Parameters

      • t: number
      • b: number
      • c: number
      • d: number

      Returns number

Private progress

progress: function

Type declaration

Private shape

shape: Shape

Private to

to: any

Private toward

toward: boolean

Methods

Private animate

pause

  • Returns Tween

play

resume

  • Returns Tween

reverse

seek

  • seek(postion: number): void
  • Parameters

    • postion: number

    Returns void

Private setAttrs

  • setAttrs(): void
  • Returns void

Generated using TypeDoc