handleDragDelta Method

Summary

Handles the drag delta action of the user (mouse/touch) from the item where the rotation handle is located. It is overridden.

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