| Package | vegas.display |
| Class | public class CoreShape |
| Inheritance | CoreShape flash.display.Shape |
| Implements | IDisplayObject |
Example :
import vegas.display.CoreShape ;
var shape:CoreShape = new CoreShape() ;
shape.x = 25 ;
shape.y = 25 ;
shape.graphics.beginFill( 0xFF0000 , 100 ) ;
shape.graphics.drawRect( 0, 0, 200, 160 ) ;
addChild( shape ) ;
| Property | Defined By | ||
|---|---|---|---|
| logger : Logger
Determinates the internal ILogger reference of this Logable object. | CoreShape | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new CoreShape instance. | CoreShape | ||
isLocked():Boolean
Returns true if the object is locked. | CoreShape | ||
lock():void
Locks the object. | CoreShape | ||
resetLock():void
Reset the lock security of the display. | CoreShape | ||
unlock():void
Unlocks the display. | CoreShape | ||
| Method | Defined By | ||
|---|---|---|---|
addedToStage(e:Event = null):void
Invoked when the display is added to the stage. | CoreShape | ||
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage. | CoreShape | ||
| 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| CoreShape | () | Constructor |
public function CoreShape()Creates a new CoreShape instance.
| addedToStage | () | method |
protected function addedToStage(e:Event = null):voidInvoked when the display is added to the stage.
Parameters
e:Event (default = null) |
| 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.
| removedFromStage | () | method |
protected function removedFromStage(e:Event = null):voidInvoked when the display is removed from the stage.
Parameters
e:Event (default = null) |
| resetLock | () | method |
public function resetLock():voidReset the lock security of the display.
| unlock | () | method |
public function unlock():voidUnlocks the display.