Package com.esri.arcgisruntime.geometry
Enum GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryType>
-
- com.esri.arcgisruntime.geometry.GeometryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryType>
public enum GeometryType extends java.lang.Enum<GeometryType>
Indicates the subtype of a Geometry. Returned fromGeometry.getGeometryType()
andFeatureTable.getGeometryType
, for example.- Since:
- 100.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINT
public static final GeometryType POINT
APoint
geometry.
-
ENVELOPE
public static final GeometryType ENVELOPE
AnEnvelope
geometry.
-
POLYLINE
public static final GeometryType POLYLINE
APolyline
geometry.
-
POLYGON
public static final GeometryType POLYGON
APolygon
geometry.
-
MULTIPOINT
public static final GeometryType MULTIPOINT
AMultipoint
geometry.
-
UNKNOWN
public static final GeometryType UNKNOWN
An unknown type of geometry. May indicate a type of geometry not supported by this API.
-
-
Method Detail
-
values
public static GeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeometryType c : GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-