←Select platform

RenderRotatePointThumbs Method

Summary

Renders the rotation points thumbs of an object.

Syntax
C#
VB
Objective-C
C++
Java
Sub RenderRotatePointThumbs( _ 
   ByVal mapper As AnnContainerMapper, _ 
   ByVal rotateCenterLocation As LeadPointD, _ 
   ByVal rotateGripperLocation As LeadPointD, _ 
   ByVal operations As AnnFixedStateOperations _ 
)  
-(void) renderRotatePointThumbsMapper:(LTAnnContainerMapper*) mapper 
                 rotateCenterLocation:(LeadPointD) rotateCenterLocation 
                rotateGripperLocation:(LeadPointD) rotateGripperLocation 
                           operations:(LTAnnFixedStateOperations) operations; 
void renderRotatePointThumbs(AnnContainerMapper mapper, LeadPointD rotateCenterLocation, LeadPointD rotateGripperLocation, int annFixedStateOperations); 

Parameters

mapper
The mapper object to use for converting coordinates. This value must not be null.

rotateCenterLocation
Location of the rotate center to render in container coordinates.

rotateGripperLocation
Location of the rotate gripper to render in container coordinates.

operations
The fixed state of the owner object.

Remarks

This method is called by the framework to render the object rotation center and gripper thumbs (when the object is in a selected state). IAnnObjectRenderer 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 RotateCenterThumbStyle to render the thumb at rotateCenterLocation and RotateGripperThumbStyle to render the thumb at rotateGripperLocation by calling RotateCenterThumbStyle.Render and RotateGripperThumbStyle.Render respectively. If RotateCenterThumbStyle or RotateGripperThumbStyle is set to null, then no corresponding thumb will not be rendered.

For more information, refer to Annotation Rotation Options.

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.Engine Assembly