| Package | com.senocular.display.transform |
| Class | public class CursorRotate |
| Inheritance | CursorRotate Cursor flash.display.Sprite |
| Method | Defined By | ||
|---|---|---|---|
Constructor for creating new CursorRotate instances. | CursorRotate | ||
draw():void [override]
Draws the visuals of the cursor. | CursorRotate | ||
![]() | 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 | |
drawArc(originX:Number, originY:Number, radius:Number, angle1:Number, angle2:Number, useMove:Boolean = true):void
Draws a circular arc between two angles. | CursorRotate | ||
| CursorRotate | () | Constructor |
public function CursorRotate()Constructor for creating new CursorRotate instances.
| draw | () | method |
override 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.
| drawArc | () | method |
protected function drawArc(originX:Number, originY:Number, radius:Number, angle1:Number, angle2:Number, useMove:Boolean = true):voidDraws a circular arc between two angles.
Parameters
originX:Number — Center x point of the circular arc.
| |
originY:Number — Center y point of the circular arc.
| |
radius:Number — Radius of the arc.
| |
angle1:Number — Starting angle of the arc.
| |
angle2:Number — Ending angle of the arc.
| |
useMove:Boolean (default = true) — When true, a moveTo is used to move to the start
the arc. Otherwise a lineTo is used.
|