- All Implemented Interfaces:
Serializable
,Comparable<ExtendOptions>
,Constable
Represents the options that can be specified when performing a
GeometryEngine.extend(Polyline, Polyline, ExtendOptions...)
operation. Multiple values can be passed, but some combinations of values are incompatible.- Since:
- 100.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBy default, extension considers both ends of paths.Do not extend the 'to' end of any path.Do not extend the 'from' end of any path.If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point.If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point.If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtendOptions
Returns the enum constant of this class with the specified name.static ExtendOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
By default, extension considers both ends of paths. The old ends remain and new points are added at the extended ends. The new points have attributes that are extrapolated from adjacent existing segments.- Since:
- 100.1.0
-
RELOCATE_ENDS
If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.- Since:
- 100.1.0
-
KEEP_END_ATTRIBUTES
If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes the same as the current end. Incompatible with NO_END_ATTRIBUTES.- Since:
- 100.1.0
-
NO_END_ATTRIBUTES
If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes be empty. Incompatible with KEEP_END_ATTRIBUTES.- Since:
- 100.1.0
-
DO_NOT_EXTEND_FROM_START_POINT
Do not extend the 'from' end of any path.- Since:
- 100.1.0
-
DO_NOT_EXTEND_FROM_END_POINT
Do not extend the 'to' end of any path.- Since:
- 100.1.0
-
-
Method Details
-
values
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
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
-