Packagepq.multitouch.events
Classpublic class DragMoveEvent
Inheritance DragMoveEvent InheritanceBaseGestureEvent

The DragMoveEvent class represents DRAG_MOVE event.



Public Properties
 PropertyDefined by
   totalOffsetX : Number
[read-only]Indicates the total offset in horizontal coordinate since DragMoveGesture begin.
DragMoveEvent
   totalOffsetY : Number
[read-only]Indicates the total offset in vertical coordinate since DragMoveGesture begin.
DragMoveEvent
   deltaOffsetX : Number
[read-only]Indicates the offset relative to last frame in horizontal coordinate.
DragMoveEvent
   deltaOffsetY : Number
[read-only]Indicates the offset relative to last frame in vertical coordinate.
DragMoveEvent
Public Methods
 MethodDefined by
  
DragMoveEvent(type:String, centerX:Number, centerY:Number, totalOffsetX:Number=0,
totalOffsetY:Number=0, deltaOffsetX:Number=0, deltaOffsetY:Number=0):void
Creates an DragMoveEvent object that contains information about DragMoveGesture.
DragMoveEvent
  
clone():Event
Creates a copy of the DragMoveEvent object and sets the value of each property to match that of the original.
DragMoveEvent
  
toString():String
Returns a string that contains properties of the DragMoveEvent object.
DragMoveEvent
Public Constants
 ConstantDefined by
   DRAG_MOVE : String = "DRAG_MOVE"
[static]Defines the value of the type property of a DRAG_MOVE event object.
DragMoveEvent
Property detail
totalOffsetX property
totalOffsetX:Number [read-only]

Indicates the total offset in horizontal coordinate since DragMoveGesture begin.

Implementation

public function get totalOffsetX():Number

totalOffsetY property
totalOffsetY:Number [read-only]

Indicates the total offset in vertical coordinate since DragMoveGesture begin.

Implementation

public function get totalOffsetY():Number

deltaOffsetX property
deltaOffsetX:Number [read-only]

Indicates the offset relative to last frame in horizontal coordinate.

Implementation

public function get deltaOffsetX():Number

deltaOffsetY property
deltaOffsetY:Number [read-only]

Indicates the offset relative to last frame in vertical coordinate.

Implementation

public function getdeltaOffsetY():Number

Method detail

clone

()method
public override function clone():Event

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

Returns

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

Returns

String properties string of the DragMoveEvent object.
Constant detail
DRAG_MOVEConstant
public static const DRAG_MOVE:String

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