GeometryEditorScaleMode enum
Determines how a geometry can be interactively scaled (resized) while using the GeometryEditor.
Set the InteractionConfiguration.scaleMode 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.
Values
- stretch → const GeometryEditorScaleMode
-
The geometry can be scaled freely and the aspect ratio is not preserved.
This value is ignored when interactively scaling elements with circular arc segments and GeometryEditorScaleMode.uniform scaling is used instead, in order to preserve the circular shape of the segments.
- uniform → const GeometryEditorScaleMode
-
The geometry can be scaled proportionally, preserving the original aspect ratio.
Properties
- coreValue → RT_GeometryEditorScaleMode
-
Convert to internal value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
GeometryEditorScaleMode> - A constant List of the values in this enum, in order of their declaration.