getAngleText Method

Summary

Gets the text to use for the given angle.

Syntax
TypeScript
JavaScript
AnnSvgProtractorObjectRenderer.prototype.getAngleText = function( 
   angle, 
   precision, 
   unit, 
   unitsAbbreviation 
) 
getAngleText( 
   angle: number, 
   precision: number, 
   unit: AnnAngularUnit, 
   unitsAbbreviation: { [key: number]: string } 
): string; 

Parameters

angle

The angle value in unit.

precision

The precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.

unit

The unit of angle.

unitsAbbreviation

The unit abbreviation to use.

Remarks

This method is called by the renderer to get the text to use for the angle. Derived classes can override this method to provide their own implementation.

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.Rendering.JavaScript Assembly