Package | pq.multitouch.events |
Class | public class DragMoveEvent |
Inheritance | DragMoveEvent ![]() |
Property | Defined 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 |
Method | Defined 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 |
Constant | Defined by | ||
---|---|---|---|
DRAG_MOVE : String = "DRAG_MOVE"
[static]Defines the value of the type property of a DRAG_MOVE event object.
| DragMoveEvent |
totalOffsetX | property |
totalOffsetX:Number
[read-only]
Indicates the total offset in horizontal coordinate since DragMoveGesture begin.
Implementationpublic function get |
totalOffsetY | property |
totalOffsetY:Number
[read-only]
Indicates the total offset in vertical coordinate since DragMoveGesture begin.
Implementationpublic function get |
deltaOffsetX | property |
deltaOffsetX:Number
[read-only]
Indicates the offset relative to last frame in horizontal coordinate.
Implementationpublic function get |
deltaOffsetY | property |
deltaOffsetY:Number
[read-only]
Indicates the offset relative to last frame in vertical coordinate.
Implementationpublic function get |
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.
ReturnsEvent— 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]
ReturnsString — properties string of the DragMoveEvent object. |
DRAG_MOVE | Constant |
public static const DRAG_MOVE:String
Defines the value of the type property of a DRAG_MOVE event object.