Package | pq.multitouch.events |
Class | public class RotateEvent |
Inheritance | RotateEvent ![]() |
Property | Defined by | ||
---|---|---|---|
totalAngle : Number
[read-only]Indicates the total rotate angle since RotateGesture begin.
| RotateEvent | ||
deltaAngle : Number
[read-only]Indicates the change angle relative to the angle in last frame.
| RotateEvent | ||
isClockWise : Boolean
[read-only]Indicates whether the rotate action is clockwise or counter-clockwise.
| RotateEvent |
Method | Defined by | ||
---|---|---|---|
RotateEvent(type:String, centerX:Number, centerY:Number, totalAngle:Number=0,
deltaAngle:Number=0, isClockWise:Number=0):void Creates an RotateEvent object that contains information about RotateGesture.
| RotateEvent | ||
clone():Event
Creates a copy of the RotateEvent object and sets the value of each property to match that of the original.
|
RotateEvent | ||
toString():String
Returns a string that contains properties of the RotateEvent object.
|
RotateEvent |
Constant | Defined by | ||
---|---|---|---|
ROTATE : String = "ROTATE"
[static]Defines the value of the type property of a ROTATE event object.
| RotateEvent |
totalAngle | property |
totalAngle:Number
[read-only]
Indicates the total rotate angle since RotateGesture begin.
Implementationpublic function get |
deltaAngle | property |
deltaAngle:Number
[read-only]
Indicates the change angle relative to the angle in last frame.
Implementationpublic function get |
isClockWise | property |
isClockWise:Number
[read-only]
Indicates whether the rotate action is clockwise or counter-clockwise.
Implementationpublic function get |
clone |
() | method |
public override function clone():Event
Creates a copy of the RotateEvent object and sets the value of each property to match that of the original.
ReturnsEvent— A new RotateEvent object with property values that match those of the original. |
toString | () | method |
public override function toString():String
Returns a string that contains properties of the RotateEvent object. The string is in the following format: [RotateEvent frameID=value type=value x=value ... eventPhase=value]
ReturnsString — properties string of the RotateEvent object. |
ROTATE | Constant |
public static const ROTATE:String
Defines the value of the type property of a ROTATE event object.