Packagefeathers.motion
Classpublic class Resize
InheritanceResize Inheritance Object

Product Version : Feathers 3.5.0

An effect that animates a component's width and height dimensions.

See also

Effects and animation for Feathers components


Public Methods
 MethodDefined By
  
createResizeByEffect(widthBy:Number, heightBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its dimensions from its current values to new values calculated by an offset.
Resize
  
createResizeEffect(duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its dimensions when they are changed.
Resize
  
createResizeFromEffect(fromWidth:Number, fromHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its dimensions from specific values to its current values.
Resize
  
createResizeHeightByEffect(heightBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its height from its current value to a new value calculated by an offset.
Resize
  
createResizeHeightFromEffect(fromHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its height from a specific value to its current value.
Resize
  
createResizeHeightToEffect(toHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its height from its current value to a new value.
Resize
  
createResizeToEffect(toWidth:Number, toHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its dimensions from their current values to new values.
Resize
  
createResizeWidthByEffect(widthBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its width from its current value to a new value calculated by an offset.
Resize
  
createResizeWidthFromEffect(fromWidth:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its width from a specific value to its current value.
Resize
  
createResizeWidthToEffect(toWidth:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function
[static] Creates an effect function for the target component that animates its width from its current value to a new value.
Resize
Method Detail
createResizeByEffect()method
public static function createResizeByEffect(widthBy:Number, heightBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its dimensions from its current values to new values calculated by an offset.

Parameters

widthBy:Number
 
heightBy:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function

See also

createResizeEffect()method 
public static function createResizeEffect(duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its dimensions when they are changed. Must be used with the resizeEffect property.

Parameters

duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function

See also

createResizeFromEffect()method 
public static function createResizeFromEffect(fromWidth:Number, fromHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its dimensions from specific values to its current values.

Parameters

fromWidth:Number
 
fromHeight:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function

See also

createResizeWidthFromEffect()
createResizeHeightFromEffect()
createResizeHeightByEffect()method 
public static function createResizeHeightByEffect(heightBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its height from its current value to a new value calculated by an offset.

Parameters

heightBy:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function
createResizeHeightFromEffect()method 
public static function createResizeHeightFromEffect(fromHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its height from a specific value to its current value.

Parameters

fromHeight:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function
createResizeHeightToEffect()method 
public static function createResizeHeightToEffect(toHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its height from its current value to a new value.

Parameters

toHeight:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function
createResizeToEffect()method 
public static function createResizeToEffect(toWidth:Number, toHeight:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its dimensions from their current values to new values.

Parameters

toWidth:Number
 
toHeight:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function

See also

createResizeWidthByEffect()method 
public static function createResizeWidthByEffect(widthBy:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its width from its current value to a new value calculated by an offset.

Parameters

widthBy:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function
createResizeWidthFromEffect()method 
public static function createResizeWidthFromEffect(fromWidth:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its width from a specific value to its current value.

Parameters

fromWidth:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function
createResizeWidthToEffect()method 
public static function createResizeWidthToEffect(toWidth:Number, duration:Number = 0.5, ease:Object, interruptBehavior:String):Function

Product Version : Feathers 3.5.0

Creates an effect function for the target component that animates its width from its current value to a new value.

Parameters

toWidth:Number
 
duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
interruptBehavior:String (default = NaN)

Returns
Function