ControlRegionRenderCallback Delegate

Summary

Callback used to customize rendering the outline of regions.

Syntax
TypeScript
JavaScript
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; 
} 

Parameters

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.

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.