| Package | com.senocular.display.transform |
| Class | public class Cursor |
| Inheritance | Cursor flash.display.Sprite |
| Subclasses | CursorMove, CursorRegistration, CursorRotate, CursorScale, CursorSkew |
| Property | Defined By | ||
|---|---|---|---|
| fillAlpha : Number
The alpha of the color used for filled shapes in dynamically drawn
cursor graphics. | Cursor | ||
| fillColor : uint
The color to be used for filled shapes in dynamically drawn
cursor graphics. | Cursor | ||
| lineAlpha : Number
The alpha of the color used for outlines in dynamically drawn
cursor graphics. | Cursor | ||
| lineColor : uint
The color to be used for outlines in dynamically drawn cursor
graphics. | Cursor | ||
| lineThickness : Number
The thickness used for outlines in dynamically drawn cursor
graphics. | Cursor | ||
| tool : TransformTool
A reference to the TransformTool instance used by the control
containing the cursor. | Cursor | ||
| Method | Defined By | ||
|---|---|---|---|
Cursor()
Constructor for creating new Cursor instances. | Cursor | ||
draw():void
Draws the visuals of the cursor. | Cursor | ||
redraw(event:Event):void
Handler for redrawing the cursor. | Cursor | ||
| Method | Defined By | ||
|---|---|---|---|
added(event:Event):void
Handler for the Event.ADDED event (capture). | Cursor | ||
| fillAlpha | property |
fillAlpha:NumberThe alpha of the color used for filled shapes in dynamically drawn cursor graphics.
public function get fillAlpha():Number public function set fillAlpha(value:Number):void| fillColor | property |
fillColor:uintThe color to be used for filled shapes in dynamically drawn cursor graphics.
public function get fillColor():uint public function set fillColor(value:uint):void| lineAlpha | property |
lineAlpha:NumberThe alpha of the color used for outlines in dynamically drawn cursor graphics.
public function get lineAlpha():Number public function set lineAlpha(value:Number):void| lineColor | property |
lineColor:uintThe color to be used for outlines in dynamically drawn cursor graphics.
public function get lineColor():uint public function set lineColor(value:uint):void| lineThickness | property |
lineThickness:NumberThe thickness used for outlines in dynamically drawn cursor graphics.
public function get lineThickness():Number public function set lineThickness(value:Number):void| tool | property |
tool:TransformToolA reference to the TransformTool instance used by the control containing the cursor. It is the responsibility of the control to provide a reference of the TransformTool to the cursor.
public function get tool():TransformTool public function set tool(value:TransformTool):void| Cursor | () | Constructor |
public function Cursor()Constructor for creating new Cursor instances.
| added | () | method |
protected function added(event:Event):voidHandler for the Event.ADDED event (capture). This is used to recognize when child display objects have been added to the display list so that a call to draw can be made.
Parameters
event:Event |
| draw | () | method |
public function draw():voidDraws the visuals of the cursor. This is called when an instance of Cursor is first created or when a child is added to its own display list. It can be called at any time to redraw the graphics of the cursor.
| redraw | () | method |
public function redraw(event:Event):voidHandler for redrawing the cursor. Controls are responsible for calling this handler, typically from within their own TransformTool.REDRAW handler. Cursors do not listen for this event on their own.
Parameters
event:Event |