Packagecom.senocular.display.transform
Classpublic class ControlBorder
InheritanceControlBorder Inheritance Control Inheritance flash.display.Sprite

Draws a border around the local coordinate space of the target object. ControlBorder styling does not support fill styles.



Public Properties
 PropertyDefined By
 InheritedfillAlpha : Number
The alpha of the color used for filled shapes in dynamically drawn control graphics.
Control
 InheritedfillColor : uint
The color to be used for filled shapes in dynamically drawn control graphics.
Control
 InheritedlineAlpha : Number
The alpha of the color used for outlines in dynamically drawn control graphics.
Control
 InheritedlineColor : uint
The color to be used for outlines in dynamically drawn control graphics.
Control
 InheritedlineThickness : Number
The thickness used for outlines in dynamically drawn control graphics.
Control
 Inheritedtool : TransformTool
A reference to the TransformTool instance the control was placed, defined in the ADDED_TO_STAGE event.
Control
Public Methods
 MethodDefined By
  
Constructor for creating new ControlBorder instances.
ControlBorder
  
draw():void
[override] Draws the visuals of the control.
ControlBorder
  
redraw(event:Event):void
[override] Handler for the TransformTool.REDRAW event.
ControlBorder
Protected Methods
 MethodDefined By
 Inherited
added(event:Event):void
Handler for the Event.ADDED event (capture).
Control
 Inherited
addedToStage(event:Event):void
Handler for the Event.ADDED_TO_STAGE event.
Control
 Inherited
Cleanup steps when defining a new tool value.
Control
 Inherited
removedFromStage(event:Event):void
Handler for the Event.REMOVED_FROM_STAGE event.
Control
 Inherited
setupTool():void
Setup steps when defining a new tool value.
Control
 Inherited
targetChanged(event:Event):void
Handler for the TransformTool.TARGET_CHANGED event.
Control
Constructor Detail
ControlBorder()Constructor
public function ControlBorder()

Constructor for creating new ControlBorder instances.

Method Detail
draw()method
override public function draw():void

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

redraw()method 
override public function redraw(event:Event):void

Handler for the TransformTool.REDRAW event. This has no default behavior and is to be overriden by subclasses if needed.

Parameters

event:Event