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.
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