| Package | feathers.motion.effectClasses |
| Class | public class TweenResizeEffectContext |
| Inheritance | TweenResizeEffectContext TweenEffectContext BaseEffectContext starling.events.EventDispatcher |
| Implements | IResizeEffectContext |
| Product Version : | Feathers 3.5.0 |
starling.animation.Tween.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | duration : Number [read-only]
The duration of the effect, in seconds. | BaseEffectContext | |
![]() | interruptBehavior : String
Indicates how the effect behaves when it is interrupted. | TweenEffectContext | |
![]() | juggler : Juggler
The Juggler used to update the effect when it is
playing. | BaseEffectContext | |
| newHeight : Number
The new height of the target. | TweenResizeEffectContext | ||
| newWidth : Number
The new width of the target. | TweenResizeEffectContext | ||
| oldHeight : Number
The old height of the target. | TweenResizeEffectContext | ||
| oldWidth : Number
The old width of the target. | TweenResizeEffectContext | ||
![]() | position : Number
Sets the position of the effect using a value between 0
and 1. | BaseEffectContext | |
![]() | target : DisplayObject [read-only]
The target of the effect. | BaseEffectContext | |
![]() | transition : Object [read-only]
The transition, or easing function, used for the effect. | BaseEffectContext | |
![]() | tween : Tween [read-only]
The tween that is controlled by the effect. | TweenEffectContext | |
| Method | Defined By | ||
|---|---|---|---|
TweenResizeEffectContext(target:DisplayObject, tween:Tween)
Constructor. | TweenResizeEffectContext | ||
![]() | interrupt():void
Interrupts the playing effect, but the effect context will be allowed
to determine on its own if it should call stop() or
toEnd(). | BaseEffectContext | |
![]() | pause():void
Pauses an effect that is currently playing. | BaseEffectContext | |
![]() | play():void
Starts playing the effect from its current position to the end. | BaseEffectContext | |
![]() | playReverse():void
Starts playing the effect from its current position back to the
beginning (completing at a position of 0). | BaseEffectContext | |
![]() | stop():void
Stops the effect at its current position and forces
Event.COMPLETE to dispatch. | BaseEffectContext | |
![]() | toEnd():void
Advances the effect to the end and forces
Event.COMPLETE to dispatch. | BaseEffectContext | |
| newHeight | property |
newHeight:NumberThe new height of the target.
public function get newHeight():Number public function set newHeight(value:Number):void| newWidth | property |
newWidth:NumberThe new width of the target.
public function get newWidth():Number public function set newWidth(value:Number):void| oldHeight | property |
oldHeight:NumberThe old height of the target.
public function get oldHeight():Number public function set oldHeight(value:Number):void| oldWidth | property |
oldWidth:NumberThe old width of the target.
public function get oldWidth():Number public function set oldWidth(value:Number):void| TweenResizeEffectContext | () | Constructor |
public function TweenResizeEffectContext(target:DisplayObject, tween:Tween)Constructor.
Parameterstarget:DisplayObject | |
tween:Tween |