Packagecom.senocular.display.transform
Classpublic class CursorSkew
InheritanceCursorSkew Inheritance Cursor Inheritance flash.display.Sprite

Cursor for skew controls.



Public Properties
 PropertyDefined By
 InheritedfillAlpha : Number
The alpha of the color used for filled shapes in dynamically drawn cursor graphics.
Cursor
 InheritedfillColor : uint
The color to be used for filled shapes in dynamically drawn cursor graphics.
Cursor
 InheritedlineAlpha : Number
The alpha of the color used for outlines in dynamically drawn cursor graphics.
Cursor
 InheritedlineColor : uint
The color to be used for outlines in dynamically drawn cursor graphics.
Cursor
 InheritedlineThickness : Number
The thickness used for outlines in dynamically drawn cursor graphics.
Cursor
  mode : String
Skew mode used by the skew control this cursor is associated with.
CursorSkew
 Inheritedtool : TransformTool
A reference to the TransformTool instance used by the control containing the cursor.
Cursor
Public Methods
 MethodDefined By
  
CursorSkew(mode:String = xAxis)
Constructor for creating new CursorSkew instances.
CursorSkew
  
draw():void
[override] Draws the visuals of the cursor.
CursorSkew
  
redraw(event:Event):void
[override] Handler for redrawing the cursor.
CursorSkew
Protected Methods
 MethodDefined By
 Inherited
added(event:Event):void
Handler for the Event.ADDED event (capture).
Cursor
Property Detail
modeproperty
mode:String

Skew mode used by the skew control this cursor is associated with. The skew mode is used to determine cursor rotation. This can be either ControlUVSkewBar.X_AXIS or ControlUVSkewBar.Y_AXIS.


Implementation
    public function get mode():String
    public function set mode(value:String):void
Constructor Detail
CursorSkew()Constructor
public function CursorSkew(mode:String = xAxis)

Constructor for creating new CursorSkew instances.

Parameters
mode:String (default = xAxis) — Skew mode used by the skew control this cursor is associated with.
Method Detail
draw()method
override public function draw():void

Draws 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 
override public function redraw(event:Event):void

Handler 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