Packagecom.desuade.partigen.renderers
Classpublic class BitmapCanvas
InheritanceBitmapCanvas Inheritance flash.display.Sprite

Language Version : ActionScript 3
Since : 03.03.2010
Runtime Versions : AIR 1.0, Flash Player 9.0.0

Displays particles on the screen from a BitmapRenderer



Public Properties
 PropertyDefined By
  bitmap : Bitmap
The internal bitmap.
BitmapCanvas
  renderer : Renderer
[read-only] The renderer used to get the bitmapdata from.
BitmapCanvas
  showIndicator : Boolean
If the BitmapCanvas indicator should be shown, marking it's position on the stage.
BitmapCanvas
Public Methods
 MethodDefined By
  
BitmapCanvas(renderer:Renderer = null, x:Number = 0, y:Number = 0)
This creates a BitmapCanvas that actually displays the particles from the BitmapRenderer.
BitmapCanvas
  
setRenderer(renderer:Renderer):void
This sets the renderer to be used.
BitmapCanvas
Property Detail
bitmapproperty
public var bitmap:Bitmap

The internal bitmap.

rendererproperty 
renderer:Renderer  [read-only]

The renderer used to get the bitmapdata from.


Implementation
    public function get renderer():Renderer
showIndicatorproperty 
showIndicator:Boolean

If the BitmapCanvas indicator should be shown, marking it's position on the stage.


Implementation
    public function get showIndicator():Boolean
    public function set showIndicator(value:Boolean):void
Constructor Detail
BitmapCanvas()Constructor
public function BitmapCanvas(renderer:Renderer = null, x:Number = 0, y:Number = 0)

This creates a BitmapCanvas that actually displays the particles from the BitmapRenderer.

Parameters
renderer:Renderer (default = null) — The BitmapRenderer to use.
 
x:Number (default = 0) — The x coord for the canvas
 
y:Number (default = 0) — The y coord for the canvas
Method Detail
setRenderer()method
public function setRenderer(renderer:Renderer):void

This sets the renderer to be used.

Parameters

renderer:Renderer — The BitmapRenderer to use.