ArcGIS Developers

AngularUnit QML Type

Indicates the units of measurement of an instance of AngularUnit, or an angular measurement operation. More...

Import Statement: import Esri.ArcGISRuntime 100.10
Since: Esri.ArcGISRuntime 100.0





Detailed Description

Instances of types that inherit from the Units type, like this one does, are initialized as a specific unit of measurement. Each instance has properties for the unit name (singular, plural and abbreviated) and provides methods for unit conversion.

Property Documentation

angularUnitId : Enums.AngularUnitId

The Enums.AngularUnitId corresponding to this AngularUnit.

Signal Documentation


Emitted when the angularUnitId property changes.

Note: This signal will only be emitted when the property initializes during the instantiation of the component.

Note: The corresponding handler is onAngularUnitIdChanged.

This signal was introduced in Esri.ArcGISRuntime 100.4.

Method Documentation

double convertFrom(AngularUnit fromUnit, double angle)

Returns an angle expressed in another AngularUnit (fromUnit) to this one.

double convertFromRadians(double radians)

Returns an angle radians converted from radians to this AngularUnit.

double convertTo(AngularUnit toUnit, double angle)

Returns an angle expressed in this AngularUnit to another AngularUnit (toUnit).

double convertToRadians(double unitValue)

Returns an angle value unitValue converted from this AngularUnit to radians.

Feedback on this topic?