- All Implemented Interfaces:
Serializable
,Comparable<UnitType>
,Constable
Deprecated, for removal: This API element is subject to removal in a future version.
as of 200.1.0, use instanceof to determine the unit type
Indicates the subtype of an instance of
Unit
.- Since:
- 100.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.AnAngularUnit
, used to define coordinates in geographic coordinate systems such as WGS 1984.Deprecated, for removal: This API element is subject to removal in a future version.AnAreaUnit
, used when measuring areas of two-dimensional geometries such as Polygons or Envelopes.Deprecated, for removal: This API element is subject to removal in a future version.ALinearUnit
, used when measuring distances or lengths of one-dimensional geometries such as Polylines.Deprecated, for removal: This API element is subject to removal in a future version.Unknown units of measurement. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnitType
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static UnitType[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR_UNIT
Deprecated, for removal: This API element is subject to removal in a future version.ALinearUnit
, used when measuring distances or lengths of one-dimensional geometries such as Polylines. LinearUnits are also used to define coordinates in projected coordinate systems such as Web Mercator Auxiliary Sphere.- See Also:
-
ANGULAR_UNIT
Deprecated, for removal: This API element is subject to removal in a future version.AnAngularUnit
, used to define coordinates in geographic coordinate systems such as WGS 1984. Angular units are also used to define angles when creating geometries, for example in the methodLineSegment.createLineAtAngleFromPoint(com.esri.arcgisruntime.geometry.Point, double, double)
.- See Also:
-
AREA_UNIT
Deprecated, for removal: This API element is subject to removal in a future version.AnAreaUnit
, used when measuring areas of two-dimensional geometries such as Polygons or Envelopes.- See Also:
-
UNKNOWN
Deprecated, for removal: This API element is subject to removal in a future version.Unknown units of measurement.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-