Class aaoh.kaze.animation.Animation

Defined in: <aaoh.kaze-animation.js>.

*Class Summary
aaoh.kaze.animation.Animation()
Animation。
*Method Summary
init(callObj, element, speed, startValue, stopValue, stepValue, startCallable, stopCallable, stepCallable)
初期処理。
nextValue()
次ステップ値の取得。
start()
アニメーションの開始。
step()
アニメーションのステップ実行。
stop()
アニメーションの停止。


Class Detail

aaoh.kaze.animation.Animation()

  • Animation。

Method Detail

init(callObj, element, speed, startValue, stopValue, stepValue, startCallable, stopCallable, stepCallable)

  • 初期処理。
  • Parameters
    • {Object} callObj
      • 呼び出し元オブジェクト
    • {Object} element
      • エレメント
    • {Number} speed
      • スピード(msec)
    • {Object} startValue
      • 開始値
    • {Object} stopValue
      • 終了値
    • {Object} stepValue
      • ステップ値
    • {Function} startCallable
      • 開始ファンクション
    • {Function} stopCallable
      • 終了ファンクション
    • {Function} stepCallable
      • ステップファンクション

{Object}nextValue()

  • 次ステップ値の取得。
  • Returns
    • {Object} 次ステップ値またはnullを返す

start()

  • アニメーションの開始。

step()

  • アニメーションのステップ実行。

stop()

  • アニメーションの停止。