handleDoubleTap Method

Summary

Abstract method that handles the double-click feature (mouse/touch) for the drawable.

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

Parameters

item

The item in which the drawable is located

x

The mouse's x-coordinate

y

The mouse's y-coordinate

args

The native interactive arguments

Remarks

Perform the following steps to make the drawable interactive:

  1. Create a class that derives this class.
  2. Implement the HandleDragStart, HandleDragDelta, and HandleDragStop methods.
  3. Implement the paint method so the drawable Draw can be painted.
  4. Create an instance of the new class and add it to the drawable list Drawables.

Implement the HitTest method to detect whether the created drawable has been clicked on.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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