Titanium.UI.Notification.pinch

Event of Titanium.UI.Notification. Inherited from Titanium.UI.View.
Platform Since
Android 0.8

Summary

Fired when the device detects a pinch gesture.

Description

A pinch is a touch and expand or contract with two fingers. The event occurs continuously until a finger is lifted again.

Properties

Properties of the object passed to the event callback:
Name Type Summary
scale Number

The scale factor relative to the points of the two touches in screen coordinates.

source Object

Source object that fired the event.

type String

Name of the event fired.

velocity Number

The velocity of the pinch in scale factor per second.