Renders the rotation points thumbs of an object.
AnnObjectRenderer.prototype.renderRotatePointThumbs = function(mapper, rotateCenterLocation, rotateGripperLocation, operations)
renderRotatePointThumbs(mapper: AnnContainerMapper, rotateCenterLocation: LeadPointD, rotateGripperLocation: LeadPointD, operations: AnnFixedStateOperations): void;
mapper
The mapper object to use for converting coordinates. 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.
This method is called by the framework to render the object rotation center and gripper 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 rotateCenterThumbStyle and rotateGripperThumbStyle 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.
Products |
Support |
Feedback: renderRotatePointThumbs Method (AnnObjectRenderer) - Leadtools.Annotations.Rendering |
Introduction |
Help Version 19.0.2017.3.21
|