Shape |
EnhancedShape |
The ‘EnhancedShape’ class extends upon the ‘Shape’ class by providing an enhanced foundation for additional garbage collection and color support.
com.boostworthy.core.IColorable, com.boostworthy.core.IDisposable, com.boostworthy.geom.ColorMatrix
EnhancedShape | The ‘EnhancedShape’ class extends upon the ‘Shape’ class by providing an enhanced foundation for additional garbage collection and color support. |
Variables | |
m_objColorMatrix | Holds an instance of the color matrix object for manipulating this object’s color. |
Functions and Properties | |
EnhancedShape | Constructor. |
onColorMatrixChange | Called whenever this object’s color matrix changes. |
colorMatrix | Gets a reference to this object’s color matrix. |
dispose | Clean up this object for garbage collection. |
init | Initializes this object. |
applyColorMatrix | Applies the current value of the color matrix to this object by creating a new color matrix filter and applying the color matrix to it. |
protected function applyColorMatrix():void
Applies the current value of the color matrix to this object by creating a new color matrix filter and applying the color matrix to it. The filter is then added to the existing filter collection for this object.
com.boostworthy.geom.ColorMatrix
Holds an instance of the color matrix object for manipulating this object’s color.
protected var m_objColorMatrix: ColorMatrix
Constructor.
public function EnhancedShape()
Called whenever this object’s color matrix changes.
protected function onColorMatrixChange( objEvent: Event ):void
Gets a reference to this object’s color matrix.
public function get colorMatrix():ColorMatrix
Clean up this object for garbage collection.
public function dispose():void
Initializes this object.
protected function init():void
Applies the current value of the color matrix to this object by creating a new color matrix filter and applying the color matrix to it.
protected function applyColorMatrix():void