Packagecom.boostworthy.core
Classpublic class EnhancedShape
InheritanceEnhancedShape Inheritance flash.display.Shape
ImplementsIColorable, IDisposable

The 'EnhancedShape' class extends upon the 'Shape' class by providing an enhanced foundation for additional garbage collection and color support.

See also

com.boostworthy.core.IColorable
com.boostworthy.core.IDisposable
com.boostworthy.geom.ColorMatrix


Public Properties
 PropertyDefined by
  colorMatrix : ColorMatrix
[read-only] Gets a reference to this object's color matrix.
EnhancedShape
Protected Properties
 PropertyDefined by
  m_objColorMatrix : ColorMatrix
Holds an instance of the color matrix object for manipulating this object's color.
EnhancedShape
Public Methods
 MethodDefined by
  
Constructor.
EnhancedShape
  
dispose():void
Clean up this object for garbage collection.
EnhancedShape
Protected Methods
 MethodDefined by
  
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.
EnhancedShape
  
init():void
Initializes this object.
EnhancedShape
  
onColorMatrixChange(objEvent:Event):void
Called whenever this object's color matrix changes.
EnhancedShape
Property detail
colorMatrixproperty
colorMatrix:ColorMatrix  [read-only]

Gets a reference to this object's color matrix.

Implementation
    public function get colorMatrix():ColorMatrix

See also

m_objColorMatrixproperty 
protected var m_objColorMatrix:ColorMatrix

Holds an instance of the color matrix object for manipulating this object's color.

Constructor detail
EnhancedShape()constructor
public function EnhancedShape()

Constructor.

Method detail
applyColorMatrix()method
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.

See also

dispose()method 
public function dispose():void

Clean up this object for garbage collection.

init()method 
protected function init():void

Initializes this object.

onColorMatrixChange()method 
protected function onColorMatrixChange(objEvent:Event):void

Called whenever this object's color matrix changes.

Parameters
objEvent:Event — An object containing information about the event.

See also