Class caurina.transitions.properties.ColorShortcuts

Method Index

new ColorShortcuts()
_brightness_get(), _brightness_set(), _color_property_get(), _color_property_set(), _color_splitter(), _colorTransform_splitter(), _contrast_get(), _contrast_set(), _hue_get(), _hue_set(), _oldColor_property_get(), _oldColor_property_set(), _saturation_get(), _saturation_set(), getHueDistance(), getHueMatrix(), init()

Constructor Detail

ColorShortcuts

public function ColorShortcuts()

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.

_color_splitter

static public function _color_splitter(p_value:Number, p_parameters:Array):Array

Splits the _color parameter into specific color variables

Parameters

p_valueNumber The original _color value

Return

Array An array containing the .name and .value of all new properties

_colorTransform_splitter

static public function _colorTransform_splitter(p_value:Object, p_parameters:Array):Array

Splits the _colorTransform parameter into specific color variables

Parameters

p_valueNumber The original _colorTransform value

Return

Array An array containing the .name and .value of all new properties

_oldColor_property_get

static public function _oldColor_property_get(p_obj:Object, p_parameters:Array):Number

_color_* Generic function for the ra/rb/etc components of the deprecated colorTransform object

_oldColor_property_set

static public function _oldColor_property_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

_color_property_get

static public function _color_property_get(p_obj:Object, p_parameters:Array):Number

_color_* Generic function for the redMultiplier/redOffset/etc components of the new colorTransform

_color_property_set

static public function _color_property_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

_brightness_get

static public function _brightness_get(p_obj:Object, p_parameters:Array):Number

_brightness Brightness of an object: -1 -> [0] -> +1

_brightness_set

static public function _brightness_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

_saturation_get

static public function _saturation_get(p_obj:Object, p_parameters:Array):Number

_saturation Saturation of an object: 0 -> [1] -> 2

_saturation_set

static public function _saturation_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

_contrast_get

static public function _contrast_get(p_obj:Object, p_parameters:Array):Number

_contrast Contrast of an object: -1 -> [0] -> +1

_contrast_set

static public function _contrast_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

_hue_get

static public function _hue_get(p_obj:Object, p_parameters:Array):Number

_hue Hue of an object: -180 -> [0] -> 180

_hue_set

static public function _hue_set(p_obj:Object, p_value:Number, p_parameters:Array):Void

getHueDistance

static public function getHueDistance(mtx1:Array, mtx2:Array):Number

getHueMatrix

static public function getHueMatrix(hue:Number):Array