Packagecom.flashdynamix.motion.effects.core
Classpublic class PixelEffect
ImplementsIEffect

Draws a 32-bit hexadecimal colored pixel at an x,y co-ord



Public Properties
 PropertyDefined by
  color : uint
The hexadecimal color to draw the pixel with.
PixelEffect
  x : Number
The x position in pixels to draw onto the BitmapData.
PixelEffect
  y : Number
The y position in pixels to draw onto the BitmapData.
PixelEffect
Public Methods
 MethodDefined by
  
PixelEffect(color:uint, x:Number, y:Number)
PixelEffect
  
render(bmd:BitmapData):void
Renders a 32-bit hexadecimal colored pixel at an x,y co-ord on to the specified BitmapData.
PixelEffect
Property detail
colorproperty
public var color:uint

The hexadecimal color to draw the pixel with.

xproperty 
public var x:Number

The x position in pixels to draw onto the BitmapData.

yproperty 
public var y:Number

The y position in pixels to draw onto the BitmapData.

Constructor detail
PixelEffect()constructor
public function PixelEffect(color:uint, x:Number, y:Number)

Parameters
color:uint — The hexadecimal color to draw the pixel with.
 
x:Number — The x position in pixels to draw onto the BitmapData.
 
y:Number — The y position in pixels to draw onto the BitmapData.
Method detail
render()method
public function render(bmd:BitmapData):void

Renders a 32-bit hexadecimal colored pixel at an x,y co-ord on to the specified BitmapData.

Parameters
bmd:BitmapData