LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

GetAngleText Method (AnnSvgProtractorObjectRenderer)

Show in webframe
The angle value in unit.
The precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.
The unit of angle.
The unit abbreviation to use.
Gets the text to use for the given angle.
Syntax
 function Leadtools.Annotations.Rendering.AnnSvgProtractorObjectRenderer.getAngleText( 
   angle ,
   precision ,
   unit ,
   unitsAbbreviation 
)

Parameters

ParameterTypeDescription
angledoubleThe angle value in unit.
precisiondoubleThe precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.
unitAnnAngularUnitThe unit of angle.
unitsAbbreviationDictionary<AnnAngularUnit,string>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.

See Also

Reference

AnnSvgProtractorObjectRenderer Object
AnnSvgProtractorObjectRenderer Members

 

 


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