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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly