Class caurina.transitions.properties.CurveModifiers

Method Index

new CurveModifiers()
_bezier_get(), _bezier_modifier(), init()

Constructor Detail

CurveModifiers

public function CurveModifiers()

There's no constructor.

Method Detail

init

static public function init():Void

Registers all the special properties to the Tweener class, so the Tweener knows what to do with them.

_bezier_modifier

static public function _bezier_modifier(p_obj:Object):Array

Given the parameter object passed to this special property, return an array listing the properties that should be modified, and their parameters

Parameters

p_objObject Parameter passed to this property

Return

Array Array listing name and parameter of each property

_bezier_get

static public function _bezier_get(b:Number, e:Number, t:Number, p:Array):Number

Given tweening specifications (beging, end, t), applies the property parameter to it, returning new t

Parameters

bNumber Beginning value of the property
eNumber Ending (desired) value of the property
tNumber Current t of this tweening (0-1), after applying the easing equation
pArray Array of parameters passed to this specific property

Return

Number New t, with the p parameters applied to it