Package | pq.multitouch.events |
Class | public class ZoomEvent |
Inheritance | ZoomEvent ![]() |
Property | Defined by | ||
---|---|---|---|
totalScale : Number
[read-only]Indicates the total scale value since ZoomGesture begin.
| ZoomEvent | ||
deltaScale : Number
[read-only]Indicates the change scale value relative to the value in last frame.
| ZoomEvent |
Method | Defined by | ||
---|---|---|---|
ZoomEvent(type:String, centerX:Number, centerY:Number, totalScale:Number=0,
deltaScale:Number=0, isClockWise:Number=0):void Creates an ZoomEvent object that contains information about ZoomGesture.
| ZoomEvent | ||
clone():Event
Creates a copy of the ZoomEvent object and sets the value of each property to match that of the original.
|
ZoomEvent | ||
toString():String
Returns a string that contains properties of the ZoomEvent object.
|
ZoomEvent |
Constant | Defined by | ||
---|---|---|---|
ZOOM : String = "ZOOM"
[static]Defines the value of the type property of a ZOOM event object.
| ZoomEvent |
totalScale | property |
totalScale:Number
[read-only]
Indicates the total scale value since ZoomGesture begin.
Implementationpublic function get |
deltaScale | property |
deltaScale:Number
[read-only]
Indicates the change scale value relative to the value in last frame.
Implementationpublic function get |
clone |
() | method |
public override function clone():Event
Creates a copy of the ZoomEvent object and sets the value of each property to match that of the original.
ReturnsEvent— A new ZoomEvent 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 ZoomEvent object. The string is in the following format: [ZoomEvent frameID=value type=value x=value ... eventPhase=value]
ReturnsString — properties string of the ZoomEvent object. |
ZOOM | Constant |
public static const ZOOM:String
Defines the value of the type property of a ZOOM event object.