←Select platform

ControlRegionRenderCallback Delegate

Summary

Callback used to customize rendering the outline of regions.

Syntax
C#
VB
C++
public delegate void ControlRegionRenderCallback( 
   Control target, 
   Graphics context, 
   LeadMatrix transform, 
   object region, 
   double opacity, 
   int animateIndex 
) 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly