rotate Method

Summary

Rotates the annotation line.

Syntax

JavaScript Syntax
rotate = function(line, angle, width, height) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly