Draws the shutter object to the associated 2D Canvas Rendering Context. Extends the Drawable base class.
draw(item: lt.Controls.ImageViewerItem, context: CanvasRenderingContext2D, rect: lt.LeadRectD): void;
item
An lt.Controls.ImageViewerItem
value that references the image viewer item to draw the shutter object to.
context
A CanvasRenderingContext2D
value that references the target canvas to draw to its surface associated with the medical viewer.
rect
An lt.LeadRectD
value that references the bounding area to draw the shutter object on the surface of the context, associated with the item.
The draw method dims everything except the areas inside the annotation objects. The annotation objects are added to the ShutterObject.objects of type LeadCollection
.
Leadtools.Controls.Medical Namespace
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