handleDoubleTap Method

Summary

An overridden method that is used to handle the double click feature (mouse/touch) for the polygon, basically completing the drawing process.

Syntax
TypeScript
JavaScript
PanoramicPolygon.prototype.handleDoubleTap = function( 
   item, 
   x, 
   y, 
   args 
) 
handleDoubleTap( 
   item: ImageViewerItem, 
   x: number, 
   y: number, 
   args: InteractiveEventArgs 
): void; 

Parameters

item

The item where the polygon is located.

x

The x-coordinate of the mouse.

y

The y-coordinate of the mouse.

args

The native interactive arguments.

Remarks

HandleDoubleTap handles completing the polygon drawing and fires the event PanoramicGenerated.

Requirements

Target Platforms

Help Version 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.