Indicates the units of measurement of an instance of AngularUnit, or an angular measurement operation. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- angularUnitId : Enums.AngularUnitId
Signals
Methods
- double convertFrom(AngularUnit fromUnit, double angle)
- double convertFromRadians(double radians)
- double convertTo(AngularUnit toUnit, double angle)
- double convertToRadians(double unitValue)
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
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.
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).
Returns an angle value unitValue converted from this AngularUnit to radians.