Packagevegas.display
Classpublic class CoreBitmap
InheritanceCoreBitmap Inheritance flash.display.Bitmap
Implements IDisplayObject

The CoreBitmap class extends the flash.display.Bitmap class and implements the IDisplayObject interface.

Example :

     import vegas.display.CoreBitmap ;
     
     var bmp:CoreBitmap = new CoreBitmap() ;
     
     bmp.smoothing = true ;
     bmp.x = 25 ;
     bmp.y = 25 ;
     
     bmp.bitmapData = new Picture(240,240) ;
     
     addChild( bmp ) ;
     



Public Properties
 PropertyDefined By
  logger : Logger
Determinates the internal ILogger reference of this Logable object.
CoreBitmap
Public Methods
 MethodDefined By
  
CoreBitmap(bitmapData:BitmapData = null, pixelSnapping:String = auto, smoothing:Boolean = false)
Creates a new CoreBitmap instance.
CoreBitmap
  
isLocked():Boolean
Returns true if the object is locked.
CoreBitmap
  
lock():void
Locks the object.
CoreBitmap
  
resetLock():void
Reset the lock security of the display.
CoreBitmap
  
unlock():void
Unlocks the display.
CoreBitmap
Property Detail
loggerproperty
logger:Logger

Determinates the internal ILogger reference of this Logable object.


Implementation
    public function get logger():Logger
    public function set logger(value:Logger):void
Constructor Detail
CoreBitmap()Constructor
public function CoreBitmap(bitmapData:BitmapData = null, pixelSnapping:String = auto, smoothing:Boolean = false)

Creates a new CoreBitmap instance.

Parameters
bitmapData:BitmapData (default = null) — The BitmapData object being referenced.
 
pixelSnapping:String (default = auto) — Controls whether or not the Bitmap object is snapped to the nearest pixel.
 
smoothing:Boolean (default = false) — Controls whether or not the bitmap is smoothed when scaled.
Method Detail
isLocked()method
public function isLocked():Boolean

Returns true if the object is locked.

Returns
Booleantrue if the object is locked.
lock()method 
public function lock():void

Locks the object.

resetLock()method 
public function resetLock():void

Reset the lock security of the display.

unlock()method 
public function unlock():void

Unlocks the display.