getAngleText Method

Summary

Gets the text to use for the given angle.

Syntax

JavaScript Syntax
AnnSvgProtractorObjectRenderer.prototype.getAngleText = function(angle, precision, unit, unitsAbbreviation) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly