drawStarted Method

Summary

Notifies the instance that the user held the mouse button down and started drawing.

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

Parameters

item

The item where the double-tap took place

x

The mouse's x-coordinate

y

The mouse's y-coordinate

args

The native interactive arguments

Remarks

The drawing action occurs when the user clicks the mouse button on an image and at that point DrawStarted gets fired. The following events provide notifications:

  • DrawStarted: To get notified when the draw action has started.
  • DrawDelta: To get notified when the draw action is occurring.
  • DrawDoubleTap: To get notified when the user double taps while drawing.
  • DrawCompleted: To get notified when the user has completed the drawing.
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.