Package com.esri.arcgisruntime.geometry
Enum GeometryOffsetType
- java.lang.Object
-
- java.lang.Enum<GeometryOffsetType>
-
- com.esri.arcgisruntime.geometry.GeometryOffsetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryOffsetType>
public enum GeometryOffsetType extends java.lang.Enum<GeometryOffsetType>
Defines the type of joints when calculating an offset from a geometry.- Since:
- 100.0.0
- See Also:
GeometryEngine.offset(Geometry, double, GeometryOffsetType, double, double)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryOffsetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryOffsetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MITERED
public static final GeometryOffsetType MITERED
Joints will be mitered.- Since:
- 100.0.0
-
BEVELLED
public static final GeometryOffsetType BEVELLED
Joints will be bevelled.- Since:
- 100.0.0
-
ROUNDED
public static final GeometryOffsetType ROUNDED
Joints will be rounded.- Since:
- 100.0.0
-
SQUARED
public static final GeometryOffsetType SQUARED
Joints will be squared.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static GeometryOffsetType[] 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 (GeometryOffsetType c : GeometryOffsetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryOffsetType 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
-
-