| Method | Defined by | ||
|---|---|---|---|
|
concatBitmapMatrix(p_oM1:Object, p_oM2:Object):Object
[static]
Returns a concatenation of two bitmap matrices.
| BitmapUtil | ||
|
getScaledBitmap(p_oBitmap:BitmapData, p_nScalex:Number, p_nScaley:Number = 0):BitmapData
[static]
Returns a scaled version of a bitmap.
| BitmapUtil | ||
|
movieToBitmap(p_oSprite:Sprite, p_bTransparent:Boolean = true, p_nColor:Number = 0x00FF00CC):BitmapData
[static]
Converts a sprite to a bitmap respecting the sprite position.
| BitmapUtil | ||
| concatBitmapMatrix | () | method |
public static function concatBitmapMatrix(p_oM1:Object, p_oM2:Object):ObjectReturns a concatenation of two bitmap matrices.
[ToDo: Explain what matrices are handled here ]
Parametersp_oM1:Object — The matrix of the first bitmap
|
|
p_oM2:Object — The matrix of the second bitmap
|
Object — The resulting matrix
|
| getScaledBitmap | () | method |
public static function getScaledBitmap(p_oBitmap:BitmapData, p_nScalex:Number, p_nScaley:Number = 0):BitmapDataReturns a scaled version of a bitmap.
The method takes a bitmap as input, and returns a scaled copy.
The original is not changed
p_oBitmap:BitmapData — The bitmap to scale
|
|
p_nScalex:Number — The x-scale
|
|
p_nScaley:Number (default = 0) — The y-scale
|
BitmapData — The scaled version
|
| movieToBitmap | () | method |
public static function movieToBitmap(p_oSprite:Sprite, p_bTransparent:Boolean = true, p_nColor:Number = 0x00FF00CC):BitmapDataConverts a sprite to a bitmap respecting the sprite position.
The simple BitmapData.draw method doesn't take care of the negative part of the sprite during the draw.
This method does.
p_oSprite:Sprite — The sprite to convert
|
|
p_bTransparent:Boolean (default = true) — Should we allow transparency ( includes na alpha channel ) - Default true
|
|
p_nColor:Number (default = 0x00FF00CC) — Background color ( 32 bits ) - default 0x00FF00CC ( Magenta )
|
BitmapData — The bitmap
|