draw Method

Summary

Draws the RotationTool control using the provided context on the specified item.

Syntax
TypeScript
JavaScript
RotationTool.prototype.draw = function( 
   item, 
   context, 
   rect 
) 
draw( 
   item: ImageViewerItem, 
   context: CanvasRenderingContext2D, 
   rect: LeadRectD 
): void; 

Parameters

item

The item where the CTR tool is drawn.

context

The drawing context that is used to draw the CTR tool.

rect

The rectangle boundaries of the CTR tool in normalized coordinates that is used to convert the position into a physical position.

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.