Packagepq.multitouch.events
Classpublic class ZoomEvent
Inheritance ZoomEvent InheritanceBaseGestureEvent

The ZoomEvent class represents ZOOM event.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined by
   ZOOM : String = "ZOOM"
[static]Defines the value of the type property of a ZOOM event object.
ZoomEvent
Property detail
totalScale property
totalScale:Number [read-only]

Indicates the total scale value since ZoomGesture begin.

Implementation

public function get totalScale():Number

deltaScale property
deltaScale:Number [read-only]

Indicates the change scale value relative to the value in last frame.

Implementation

public function get deltaScale():Number

Method detail

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.

Returns

Event— 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]

Returns

String properties string of the ZoomEvent object.
Constant detail
ZOOMConstant
public static const ZOOM:String

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