←Select platform

ControlRegionRenderCallback Delegate

Summary

Callback used to customize rendering the outline of regions.

Syntax
C#
C++
public delegate void ControlRegionRenderCallback( 
   Control target, 
   Graphics context, 
   LeadMatrix transform, 
   object region, 
   double opacity, 
   int animateIndex 
) 
vb[VB Syntax] 
Public Delegate Sub ControlRegionRenderCallback( 
   ByVal _target_ As System.Windows.Forms.Control, 
   ByVal _context_ As System.Drawing.Graphics, 
   ByVal _transform_ As LeadMatrix, 
   ByVal _region_ As Object, 
   ByVal _opacity_ As Double, 
   ByVal _animateIndex_ As Integer 
) 
public delegate void ControlRegionRenderCallback( 
       System::Windows::Forms::Control^ target, 
      System::Drawing::Graphics^ context, 
      LeadMatrix^ transform, 
      Object^ region, 
      double opacity, 
      int animateIndex 
   ) 

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.

Remarks

In Windows Forms platform, region is an object of type System.Drawing.Drawing2D.GraphicsPath.

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

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

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.