Draws the reference line using the specified parameters.
draw = function(
context,
displayRect,
imageRect,
line,
lineNumber
)
static draw(
context: CanvasRenderingContext2D,
displayRect: LeadRectD,
imageRect: LeadRectD,
line: LeadLine,
lineNumber: string
): boolean;
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.
true if the reference line has been drawn successfully, false otherwise.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document