Packagecom.boostworthy.core
Classpublic class EnhancedBitmap
InheritanceEnhancedBitmap Inheritance flash.display.Bitmap
ImplementsIColorable, IDisposable

The 'EnhancedBitmap' class extends upon the 'Bitmap' 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.
EnhancedBitmap
Protected Properties
 PropertyDefined by
  m_objColorMatrix : ColorMatrix
Holds an instance of the color matrix object for manipulating this object's color.
EnhancedBitmap
Public Methods
 MethodDefined by
  
Constructor.
EnhancedBitmap
  
dispose():void
Clean up this object for garbage collection.
EnhancedBitmap
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.
EnhancedBitmap
  
init():void
Initializes this object.
EnhancedBitmap
  
onColorMatrixChange(objEvent:Event):void
Called whenever this object's color matrix changes.
EnhancedBitmap
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
EnhancedBitmap()constructor
public function EnhancedBitmap()

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