| Package | com.flashdynamix.motion.effects.core |
| Class | public class PixelEffect |
| Implements | IEffect |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| color | property |
public var color:uintThe hexadecimal color to draw the pixel with.
| x | property |
public var x:NumberThe x position in pixels to draw onto the BitmapData.
| y | property |
public var y:NumberThe y position in pixels to draw onto the BitmapData.
| 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.
|
| render | () | method |
public function render(bmd:BitmapData):voidRenders a 32-bit hexadecimal colored pixel at an x,y co-ord on to the specified BitmapData.
Parametersbmd:BitmapData |