draw Method

Summary

Draws the CTR tool using the provided context on the specified item.

Syntax
TypeScript
JavaScript
CTRTool.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 its position into a physical position.

Remarks

CTR tool is the cardiothoracic ratio which expressed as the ratio of the transverse diameter of the heart to the maximum internal diameter of the thoracic cavity.

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.