| Package | pegas.transitions |
| Class | public class TweenEntry |
| Implements | Cloneable |
| Property | Defined by | ||
|---|---|---|---|
| begin : Number
Defines the begin value of the value.
| TweenEntry | ||
| change : Number [read-only]
(read-only) Indicates the change value of this tween entry.
| TweenEntry | ||
| easing : Function
(read-write) Defines the easing method reference of this entry.
| TweenEntry | ||
| finish : Number
(read-write) Defines the finish value of the entry.
| TweenEntry | ||
| prevPos : Number
The previous position of the entry.
| TweenEntry | ||
| prop : String
The property of the tween entry.
| TweenEntry | ||
| Method | Defined by | ||
|---|---|---|---|
|
TweenEntry(prop:String = null, easing:Function = null, begin:Number, finish:Number)
Creates a new TweenEntry instance.
| TweenEntry | ||
|
clone():*
Returns a shallow copy of this entry.
| TweenEntry | ||
|
getPosition(t:Number, d:Number):Number
Returns the current position of this entry with the specified time value and with the specified duration.
| TweenEntry | ||
|
noEasing(t:Number, b:Number, c:Number, d:Number):Number
[static]
The default static easing used by this tween entry if the easing property is empty.
| TweenEntry | ||
|
setPosition(value:Number):Number
Sets the position of the tween entry with the specified value.
| TweenEntry | ||
|
toString():String
Returns the String representation of the object.
| TweenEntry | ||
| begin | property |
public var begin:NumberDefines the begin value of the value.
| change | property |
change:Number [read-only](read-only) Indicates the change value of this tween entry.
Implementation public function get change():Number
| easing | property |
easing:Function [read-write](read-write) Defines the easing method reference of this entry.
Implementation public function get easing():Function
public function set easing(value:Function):void
| finish | property |
finish:Number [read-write](read-write) Defines the finish value of the entry.
Implementation public function get finish():Number
public function set finish(value:Number):void
| prevPos | property |
public var prevPos:NumberThe previous position of the entry.
| prop | property |
public var prop:StringThe property of the tween entry.
| TweenEntry | () | constructor |
public function TweenEntry(prop:String = null, easing:Function = null, begin:Number, finish:Number)Creates a new TweenEntry instance.
Parametersprop:String (default = null) — the property string value.
|
|
easing:Function (default = null) — the easing function of the tween entry.
|
|
begin:Number — the begin value.
|
|
finish:Number — the finish value.
|
| clone | () | method |
public function clone():*Returns a shallow copy of this entry.
Returns* — a shallow copy of this entry.
|
| getPosition | () | method |
public function getPosition(t:Number, d:Number):NumberReturns the current position of this entry with the specified time value and with the specified duration.
Parameterst:Number — The time position of the motion.
|
|
d:Number — The duration value of the motion.
|
Number — the current position of this entry with the specified time value and with the specified duration.
|
| noEasing | () | method |
public static function noEasing(t:Number, b:Number, c:Number, d:Number):NumberThe default static easing used by this tween entry if the easing property is empty.
Parameterst:Number |
|
b:Number |
|
c:Number |
|
d:Number |
Number |
| setPosition | () | method |
public function setPosition(value:Number):NumberSets the position of the tween entry with the specified value.
Parametersvalue:Number |
Number |
| toString | () | method |
public function toString():StringReturns the String representation of the object.
ReturnsString — the String representation of the object.
|