←Select platform

ControlRegionRenderCallback Delegate

Summary

Callback used to customize rendering the outline of regions.

Syntax
C#
C++/CLI
public delegate void ControlRegionRenderCallback( 
   Control target, 
   Graphics context, 
   LeadMatrix transform, 
   object region, 
   double opacity, 
   int animateIndex 
) 
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 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.