draw Method

Summary

Draws the panoramic polygon using the provided context on the specified item.

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

Parameters

item

The item where the panoramic polygon is drawn.

context

The drawing context that is used to draw the polygon.

rect

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

Remarks

Draw is used internally by PanoramicCell. Draw a panoramic polygon through the PanoramicAction. To check the panoramic polygon created, use Drawable.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.