handleDragDelta Method

Summary

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

Syntax
TypeScript
JavaScript
CutLines.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

HandleDragDelta is an abstract method. 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, implements HitTest.

Requirements

Target Platforms

Help Version 22.0.2023.2.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.