Packagecom.pblabs.rendering2D.modifier
Classpublic class ColorizeModifier
InheritanceColorizeModifier Inheritance Modifier Inheritance Object



Public Properties
 PropertyDefined By
  alpha : Array = null
ColorizeModifier
  blue : Array = null
ColorizeModifier
  green : Array = null
ColorizeModifier
  red : Array = null
ColorizeModifier
Public Methods
 MethodDefined By
  
ColorizeModifier(red:Array, green:Array, blue:Array, alpha:Array)
ColorizeModifier
  
modify(data:BitmapData, index:int = 0, count:int = 1):BitmapData
[override]
ColorizeModifier
Protected Methods
 MethodDefined By
 Inherited
drawBitmap(bitmap:Bitmap, bitmapData:BitmapData):BitmapData
Use this function to draw a bitmap with filters onto a new bitmapData object
Modifier
Property Detail
alphaproperty
public var alpha:Array = null

blueproperty 
public var blue:Array = null

greenproperty 
public var green:Array = null

redproperty 
public var red:Array = null

Constructor Detail
ColorizeModifier()Constructor
public function ColorizeModifier(red:Array, green:Array, blue:Array, alpha:Array)



Parameters
red:Array
 
green:Array
 
blue:Array
 
alpha:Array
Method Detail
modify()method
override public function modify(data:BitmapData, index:int = 0, count:int = 1):BitmapData

Parameters

data:BitmapData
 
index:int (default = 0)
 
count:int (default = 1)

Returns
BitmapData