Module com.esri.arcgisruntime
Enum Class GeometryEditorScaleMode
java.lang.Object
java.lang.Enum<GeometryEditorScaleMode>
com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorScaleMode
- All Implemented Interfaces:
Serializable
,Comparable<GeometryEditorScaleMode>
,Constable
Determines how a geometry can be interactively scaled (resized) while using the
GeometryEditor
.
Set the InteractionConfiguration.scaleModeProperty()
property to one of the values to determine interactive
scaling behavior of a GeometryEditor
. Additionally, this value also determines how the initial shape is
created when using the ShapeTool
.
- Since:
- 200.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeometryEditorScaleMode
Returns the enum constant of this class with the specified name.static GeometryEditorScaleMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRETCH
The geometry can be scaled freely and the aspect ratio is not preserved.- Since:
- 200.2.0
-
UNIFORM
The geometry can be scaled proportionally, preserving the original aspect ratio.- Since:
- 200.2.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
-