LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

RenderThumbs Method

Show in webframe
The mapper object to use for converting coordinates. Must not be null.
Locations of the thumbs in container coordinates.
The fixed state of the owner object.
Renders the thumbs of an object.
Syntax
 function Leadtools.Annotations.Rendering.AnnObjectRenderer.renderThumbs( 
   mapper ,
   thumbLocations ,
   operations 
)

Parameters

ParameterTypeDescription
mapperAnnContainerMapperThe mapper object to use for converting coordinates. Must not be null.
thumbLocationsLeadPointDLocations of the thumbs in container coordinates.
operationsAnnFixedStateOperationsThe 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.

See Also

Reference

AnnObjectRenderer Object
AnnObjectRenderer Members

 

 


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