←Select platform

RenderThumbs Method (AnnD2DObjectRenderer)

Summary

Renders the thumbs of an object.

Syntax
C#
VB
Public Overridable Sub RenderThumbs( _ 
   ByVal mapper As AnnContainerMapper, _ 
   ByVal thumbLocations() As LeadPointD, _ 
   ByVal operations As AnnFixedStateOperations _ 
)  

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). AnnD2DObjectRenderer 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