renderAlignmentTarget Method

Summary

Renders highlight rectangle above the bounds of alignment target object when EnableObjectsAlignment is turned on and the object is target alignment.

Syntax
TypeScript
JavaScript
AnnObjectRenderer.prototype.renderAlignmentTarget = function( 
   mapper, 
   annObject 
) 
renderAlignmentTarget( 
   mapper: AnnContainerMapper, 
   annObject: AnnObject 
): void; 

Parameters

mapper

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

annObject

The object to render highlight above.

Remarks

This method is called by the framework to render highlight rectangle above the bounds of alignment target object if EnableObjectsAlignment is turned on and the object is target alignment. This is usually called from RenderContainer if the value of EnableObjectsAlignment is true and the object is target alignment.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.