OpenLayers.Tweenクラス
定数
INTERVAL
2ステップの間のミリ秒の間隔
プロパティ
easing
{<OpenLayers.Easing>(Function)} アニメーション表示のために使用される軽くなっている方程式です。ディフォルトはOpenLayers.Easing.Expo.easeOutを設定されています。
begin
アニメーションを始める値です。
finish
アニメーションを終了する値です。
duration
tweenの期間です。(ステップの数)
callbacks
{Object} An object with start, eachStep and done properties whose values are functions to be call during the animation. They are passed the current computed value as argument.
コンストラクター
OpenLayers.Tween
パラメータ
- easing {<OpenLayers.Easing>(Function)} 使用するアニメーション方法です。
メソッド
start
start: function( begin, finish, duration, options )
Tweenを開始して、各々ステップでコールバックメソッドをコールします。
パラメータ
- begin {Object} アニメーションを始める値です。
- finish {Object} アニメーションを終了する値です。
- duration {int} tweenの期間です。(ステップの数)
- options {Object} オプションのハッシュテーブルです(例:callbacks (start, eachStep, done))
stop
stop: function()
Tweenを停止します。
Add a New Comment
page revision: 3, last edited: 29 Apr 2008 14:29





