ControlRegionRenderCallback Delegate

Summary

Callback used to customize rendering the outline of regions.

Syntax

JavaScript Syntax
function lt.Controls.ControlRegionRenderCallback(target, context, transform, region, opacity, animateIndex)
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize