draw Method

Summary

Draws the reference line using the specified parameters.

Syntax

JavaScript Syntax
TypeScript Syntax
static draw(context: CanvasRenderingContext2D, displayRect: LeadRectD, imageRect: LeadRectD, line: LeadLine, lineNumber: string): boolean; 

Parameters

context

The context used to draw the reference line.

displayRect

The clipping rectangle.

imageRect

The real image dimensions.

line

The line to draw.

lineNumber

A number used to write next to the line.

Return Value

true if the reference line has been drawn successfully, false otherwise.

Remarks

To generate the reference line, refer to Find.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly