| Package | com.rockonflash.logo.utils |
| Class | public class IlluminationMonitor |
| Inheritance | IlluminationMonitor flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| boxHeight : Number
The height of the area you want to have inspected
| IlluminationMonitor | ||
| boxWidth : Number
The width of the area you want to have inspected
| IlluminationMonitor | ||
| filterTarget : DisplayObject
filterTarget is the object we're going to set the dynamic shadow color to
| IlluminationMonitor | ||
| target : DisplayObject | IlluminationMonitor | ||
| testRect : Sprite
testRect is where you'd draw your sample box so you can see where you're sampling your color data
| IlluminationMonitor | ||
| testView : Bitmap
testView is if you want to see the bdColor bitmapdata object
| IlluminationMonitor | ||
| Method | Defined by | ||
|---|---|---|---|
|
IlluminationMonitor(target:IEventDispatcher = null)
| IlluminationMonitor | ||
|
assesColor():void
Draws the target into the bdColor object and loops through the pixels of the defined box area.
| IlluminationMonitor | ||
| boxHeight | property |
public var boxHeight:NumberThe height of the area you want to have inspected
| boxWidth | property |
public var boxWidth:NumberThe width of the area you want to have inspected
| filterTarget | property |
public var filterTarget:DisplayObjectfilterTarget is the object we're going to set the dynamic shadow color to
| target | property |
target:DisplayObject [read-write]Implementation
public function get target():DisplayObject
public function set target(value:DisplayObject):void
| testRect | property |
public var testRect:SpritetestRect is where you'd draw your sample box so you can see where you're sampling your color data
| testView | property |
public var testView:BitmaptestView is if you want to see the bdColor bitmapdata object
| IlluminationMonitor | () | constructor |
public function IlluminationMonitor(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null) |
| assesColor | () | method |
public function assesColor():voidDraws the target into the bdColor object and loops through the pixels of the defined box area. It then sets the drop shadow filter for the filterTarget