| Package | com.senocular.display.transform |
| Class | public class ControlGhostOutline |
| Inheritance | ControlGhostOutline Control flash.display.Sprite |
| Property | Defined By | ||
|---|---|---|---|
![]() | fillAlpha : Number
The alpha of the color used for filled shapes in dynamically drawn
control graphics. | Control | |
![]() | fillColor : uint
The color to be used for filled shapes in dynamically drawn
control graphics. | Control | |
![]() | lineAlpha : Number
The alpha of the color used for outlines in dynamically drawn
control graphics. | Control | |
![]() | lineColor : uint
The color to be used for outlines in dynamically drawn control
graphics. | Control | |
![]() | lineThickness : Number
The thickness used for outlines in dynamically drawn control
graphics. | Control | |
| tool : TransformTool [override]
A reference to the TransformTool instance the control was placed,
defined in the ADDED_TO_STAGE event. | ControlGhostOutline | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor for creating new ControlGhostOutline instances. | ControlGhostOutline | ||
draw():void [override]
Draws the visuals of the control. | ControlGhostOutline | ||
![]() | redraw(event:Event):void
Handler for the TransformTool.REDRAW event. | Control | |
| Method | Defined By | ||
|---|---|---|---|
![]() | added(event:Event):void
Handler for the Event.ADDED event (capture). | Control | |
![]() | addedToStage(event:Event):void
Handler for the Event.ADDED_TO_STAGE event. | Control | |
![]() | cleanupTool():void
Cleanup steps when defining a new tool value. | Control | |
commit(event:Event):void
Handler for TransformTool.COMMIT events. | ControlGhostOutline | ||
![]() | removedFromStage(event:Event):void
Handler for the Event.REMOVED_FROM_STAGE event. | Control | |
![]() | setupTool():void
Setup steps when defining a new tool value. | Control | |
![]() | targetChanged(event:Event):void
Handler for the TransformTool.TARGET_CHANGED event. | Control | |
| tool | property |
tool:TransformTool[override] A reference to the TransformTool instance the control was placed, defined in the ADDED_TO_STAGE event. The control must be a direct child of a TransformTool instance for it to be recognized.
public function get tool():TransformTool public function set tool(value:TransformTool):void| ControlGhostOutline | () | Constructor |
public function ControlGhostOutline()Constructor for creating new ControlGhostOutline instances.
| commit | () | method |
protected function commit(event:Event):voidHandler for TransformTool.COMMIT events. ControlGhostOutline instances draw themselves in COMMIT events rather than REDRAW.
Parameters
event:Event |
| draw | () | method |
override public function draw():voidDraws the visuals of the control. This is called when first added to the stage as a child of a TransformTool instance and when a child is added to the control's own display list. It can be called at any time to redraw the graphics of the control.