| Package | vegas.display |
| Class | public class CoreBitmap |
| Inheritance | CoreBitmap flash.display.Bitmap |
| Implements | IDisplayObject |
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 ) ;
| Property | Defined By | ||
|---|---|---|---|
| logger : Logger
Determinates the internal ILogger reference of this Logable object. | CoreBitmap | ||
| Method | Defined 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 | ||
| logger | property |
logger:Logger
Determinates the internal ILogger reference of this Logable object.
public function get logger():Logger public function set logger(value:Logger):void| CoreBitmap | () | Constructor |
public function CoreBitmap(bitmapData:BitmapData = null, pixelSnapping:String = auto, smoothing:Boolean = false)Creates a new CoreBitmap instance.
ParametersbitmapData: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.
|
| isLocked | () | method |
public function isLocked():Boolean
Returns true if the object is locked.
Boolean — true if the object is locked.
|
| lock | () | method |
public function lock():voidLocks the object.
| resetLock | () | method |
public function resetLock():voidReset the lock security of the display.
| unlock | () | method |
public function unlock():voidUnlocks the display.