Packagevegas.display
Classpublic class CoreShape
InheritanceCoreShape Inheritance flash.display.Shape
Implements IDisplayObject

The CoreShape class extends the flash.display.Shape class and implements the IDisplayObject interface.

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 ) ;
     



Public Properties
 PropertyDefined By
  logger : Logger
Determinates the internal ILogger reference of this Logable object.
CoreShape
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined 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
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
CoreShape()Constructor
public function CoreShape()

Creates a new CoreShape instance.

Method Detail
addedToStage()method
protected function addedToStage(e:Event = null):void

Invoked 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.

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

Locks the object.

removedFromStage()method 
protected function removedFromStage(e:Event = null):void

Invoked when the display is removed from the stage.

Parameters

e:Event (default = null)

resetLock()method 
public function resetLock():void

Reset the lock security of the display.

unlock()method 
public function unlock():void

Unlocks the display.