←Select platform

RenderThumbs Method

Summary

Renders the thumbs of an object.

Syntax
C#
VB
Objective-C
C++
Java
Public Overridable Sub RenderThumbs( _ 
   ByVal mapper As AnnContainerMapper, _ 
   ByVal thumbLocations() As LeadPointD, _ 
   ByVal operations As AnnFixedStateOperations _ 
)  
- (void)renderThumbsMapper:(LTAnnContainerMapper *)mapper 
           thumbsLocations:(LTLeadPointCollection *)thumbLocations 
                operations:(LTAnnFixedStateOperations)operations 
public void renderThumbs(AnnContainerMapper mapper,  
                         LeadPointD[] thumbLocations,  
                         int annFixedStateOperations) 
public:  
   virtual void RenderThumbs( 
      AnnContainerMapper^ mapper, 
      array<LeadPointD^>^ thumbLocations, 
      AnnFixedStateOperations^ operations 
   ) 

Parameters

mapper
The mapper object to use for converting coordinates. Must not be null.

thumbLocations
Locations of the thumbs in container coordinates.

operations
The fixed state of the owner object.

Remarks

This method is called by the framework to render the object thumbs (when the object is in a selected state). AnnObjectRenderer contains all the information required to render the thumbs, therefore, most of the derived classes implementation do not override this method and uses the default implementation instead.

This method will use LocationsThumbStyle to render the thumbs by iterating and passing each item in thumbLocations to LocationsThumbStyle.Render passing mapper and operations. If LocationsThumbStyle is set to null, then no thumbs are rendered by this object.

Requirements

Target Platforms

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

Leadtools.Annotations.Rendering.WinForms Assembly