Packagepq.multitouch.events
Classpublic class ManipulateEvent
Inheritance ManipulateEvent InheritanceBaseGestureEvent

The ManipulateEvent class represents MANIPULATE event.



Public Properties
 PropertyDefined by
   deltaScale : Number
[read-only]Get the double value indicating the scale ratio related to the state of ManipulateEvent in last frame.
ManipulateEvent
   deltaAngle : Number
[read-only]Get the double value indicating the rotated angle related to the state of ManipulateEvent in last frame.
ManipulateEvent
   deltaVector : Number
[read-only]Get the Vector value indicating the move vector related to the state of ManipulateEvent in last frame.
ManipulateEvent
Public Methods
 MethodDefined by
  
ManipulateEvent(type:String, centerX:Number, centerY:Number,
vector:Vector2D,scale:Number,angle:Number):void
Creates an ManipulateEvent object that contains information about ManipulateGesture.
ManipulateEvent
  
clone():Event
Creates a copy of the ManipulateEvent object and sets the value of each property to match that of the original.
ManipulateEvent
  
toString():String
Returns a string that contains properties of the ManipulateEvent object.
ManipulateEvent
Public Constants
 ConstantDefined by
   MANIPULATE : String = "MANIPULATE"
[static]Defines the value of the type property of a MANIPULATE event object.
ManipulateEvent
Property detail
deltaScale property
deltaScale:Number [read-only]

Get the double value indicating the scale ratio related to the state of ManipulateEvent in last frame.

Implementation

public function get deltaScale():Number

deltaAngle property
deltaAngle:Number [read-only]

Get the double value indicating the rotated angle related to the state of ManipulateEvent in last frame.

Implementation

public function get deltaAngle():Number

deltaVector property
deltaVector:Vector2D [read-only]

Get the Vector value indicating the move vector related to the state of ManipulateEvent in last frame.

Implementation

public function get deltaVector():Vector2D

Method detail

clone

()method
public override function clone():Event

Creates a copy of the ManipulateEvent object and sets the value of each property to match that of the original.

Returns

Event— A new ManipulateEvent 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 ManipulateEvent object. The string is in the following format: [ManipulateEvent frameID=value type=value x=value ... eventPhase=value]

Returns

String properties string of the ManipulateEvent object.
Constant detail
MANIPULATE Constant
public static const MANIPULATE:String

Defines the value of the type property of a MANIPULATE event object.