LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

RenderRotatePointThumbs Method

Show in webframe
The mapper object to use for converting coordinates. Must not be null.
Location of the rotate center to render in container coordinates.
Location of the rotate gripper to render in container coordinates.
The fixed state of the owner object.
Renders the rotation points thumbs of an object.
Syntax
 function Leadtools.Annotations.Rendering.AnnObjectRenderer.renderRotatePointThumbs( 
   mapper ,
   rotateCenterLocation ,
   rotateGripperLocation ,
   operations 
)

Parameters

ParameterTypeDescription
mapperAnnContainerMapperThe mapper object to use for converting coordinates. Must not be null.
rotateCenterLocationLeadPointDLocation of the rotate center to render in container coordinates.
rotateGripperLocationLeadPointDLocation of the rotate gripper to render in container coordinates.
operationsAnnFixedStateOperationsThe 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). 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 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.

See Also

Reference

AnnObjectRenderer Object
AnnObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.