handleDragDelta Method

Summary

Handles the move action of the user with the mouse or touch while holding down on the item where the drawable is located.

Syntax
TypeScript
JavaScript
CTRTool.prototype.handleDragDelta = function( 
   x, 
   y, 
   args 
) 
handleDragDelta( 
   x: number, 
   y: number, 
   args: InteractiveDragDeltaEventArgs 
): void; 

Parameters

x

The x-coordinate of the mouse.

y

the y-coordinate of the mouse.

args

The native interactive arguments.

Remarks

To handle the mouse/touch down use HandleDragStart, or to handle the mouse/touch up use HandleDragCompleted. To detect whether a click occurred on the created drawable, implement HitTest.

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.