Callback used to customize rendering the outline of regions.
function lt.Controls.ControlRegionRenderCallback(target, context, transform, region, opacity, animateIndex)
interface lt.Controls.ControlRegionRenderCallback {
(target: any, context: CanvasRenderingContext2D, transform: LeadMatrix, region: any, opacity: number, animateIndex: number): void;
}
target
The target control.
context
The target render context.
transform
Transformation matrix to use.
region
The region object to render.
opacity
Opacity to use when rending the region. Value is from 0 (transparent) to 1.0 (fully opaque).
animateIndex
The animation index, this is a value that will range from 0 to MaximumAnimateIndex and back and allows the user to use it as an animation key if desired.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET