rotate Method

Summary

Rotates the annotation line.

Syntax
TypeScript
JavaScript
rotate = function( 
   line, 
   angle, 
   width, 
   height 
) 
static rotate( 
   line: LeadLine, 
   angle: number, 
   width: number, 
   height: number 
): LeadLine; 

Parameters

line

The reference line.

angle

The rotation angle.

width

The width of the image, where the reference line is drawn.

height

The height of the image, where the reference line is drawn.

Return Value

LeadLine which represents the annotation line after being rotated.

Remarks

To generate the reference line, refer to Find.

To draw the reference line, refer to Draw.

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.