←Select platform

PinchGestureEvent Constructor (PinchGestureEvent_Java)

Summary

Initializes a new PinchGestureEvent with explicit parameters.

Syntax

C#
VB
Java
public PinchGestureEvent(  
   PointF position1, 
   PointF position2, 
   float scale, 
   float distance, 
   float angle 
) 
Public Function New( _ 
   ByVal position1 As PointF, _ 
   ByVal position2 As PointF, _ 
   ByVal scale As Single, _ 
   ByVal distance As Single, _ 
   ByVal angle As Single _ 
) 
public PinchGestureEvent(PointF position1, PointF position2, float scale, float distance, float angle)

Parameters

position1
The current position of the first touch.

position2
The current position of the second touch.

scale
The scaling factor from the current event to the previous event.

distance
The distance between the position1 and position2.

angle
The angle between the position1 and position2.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize