GeoBlazor Pro
layout: pro title: SketchToolUpdateOptions parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Widgets
SketchToolUpdateOptions Class
Default update options set for the Sketch widget. Update options set on this property will be overwritten if the update options are changed when update() method is called.
public class SketchToolUpdateOptions :
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.SketchToolUpdateOptions>
Inheritance System.Object 🡒 SketchToolUpdateOptions
Implements System.IEquatable<SketchToolUpdateOptions>
Constructors
SketchToolUpdateOptions(SketchTool, bool, bool, bool, bool, bool, bool, ReshapeOptions, DefaultUpdateHighlightOptions) Constructor
Default update options set for the Sketch widget. Update options set on this property will be overwritten if the update options are changed when update() method is called.
public SketchToolUpdateOptions(dymaptic.GeoBlazor.Pro.Components.Widgets.SketchTool Tool, bool EnableRotation, bool EnableScaling, bool EnableZ, bool MultipleSelectionEnabled, bool PreserveAspectRatio, bool ToggleToolOnClick, dymaptic.GeoBlazor.Pro.Components.Widgets.ReshapeOptions ReshapeOptions, dymaptic.GeoBlazor.Pro.Components.Widgets.DefaultUpdateHighlightOptions HighlightOptions);
Parameters
Tool
SketchTool
Name of the update tool. The default tool is transform for graphics with polygon and polyline geometries and move for graphics with point and multipoint geometries. However, if a graphic with point geometry uses a 3D object symbol layer, the default tool is transform.
Possible Values:”move”|”transform”|”reshape”
EnableRotation
System.Boolean
Indicates if the rotation operation will be enabled when updating graphics. Only applies if tool is transform. Default Value: true.
EnableScaling
System.Boolean
Indicates if the scale operation will be enabled when updating graphics. Only applies if tool is transform. Default Value: true.
EnableZ
System.Boolean
Indicates if z-values can be modified when updating the graphic. When enabled, the height handle manipulator is displayed. Default Value: true.
MultipleSelectionEnabled
System.Boolean
Indicates whether more than one selection can be made at once. This applies to the shift+click interaction with the transform tool. Default Value: true.
PreserveAspectRatio
System.Boolean
Indicates if the uniform scale operation will be enabled when updating graphics. enableScaling must be set true when setting this property to true. Only applies if tool is transform and is always true when transforming points that use a 3D object symbol layer. Default Value: false.
ToggleToolOnClick
System.Boolean
Indicates if the graphic being updated can be toggled between transform and reshape update options. Default Value: true.
ReshapeOptions
ReshapeOptions
Changes the behavior for the reshape tool. Defines the operations for edge and/or the constraints for moving a shape and/or a vertex. Only supported in 3D.
HighlightOptions
DefaultUpdateHighlightOptions
Options that control when to display or hide highlights for update operations.
Properties
SketchToolUpdateOptions.EnableRotation Property
Indicates if the rotation operation will be enabled when updating graphics. Only applies if tool is transform. Default Value: true.
public bool EnableRotation { get; set; }
Property Value
SketchToolUpdateOptions.EnableScaling Property
Indicates if the scale operation will be enabled when updating graphics. Only applies if tool is transform. Default Value: true.
public bool EnableScaling { get; set; }
Property Value
SketchToolUpdateOptions.EnableZ Property
Indicates if z-values can be modified when updating the graphic. When enabled, the height handle manipulator is displayed. Default Value: true.
public bool EnableZ { get; set; }
Property Value
SketchToolUpdateOptions.HighlightOptions Property
Options that control when to display or hide highlights for update operations.
public dymaptic.GeoBlazor.Pro.Components.Widgets.DefaultUpdateHighlightOptions HighlightOptions { get; set; }
Property Value
SketchToolUpdateOptions.MultipleSelectionEnabled Property
Indicates whether more than one selection can be made at once. This applies to the shift+click interaction with the transform tool. Default Value: true.
public bool MultipleSelectionEnabled { get; set; }
Property Value
SketchToolUpdateOptions.PreserveAspectRatio Property
Indicates if the uniform scale operation will be enabled when updating graphics. enableScaling must be set true when setting this property to true. Only applies if tool is transform and is always true when transforming points that use a 3D object symbol layer. Default Value: false.
public bool PreserveAspectRatio { get; set; }
Property Value
SketchToolUpdateOptions.ReshapeOptions Property
Changes the behavior for the reshape tool. Defines the operations for edge and/or the constraints for moving a shape and/or a vertex. Only supported in 3D.
public dymaptic.GeoBlazor.Pro.Components.Widgets.ReshapeOptions ReshapeOptions { get; set; }
Property Value
SketchToolUpdateOptions.ToggleToolOnClick Property
Indicates if the graphic being updated can be toggled between transform and reshape update options. Default Value: true.
public bool ToggleToolOnClick { get; set; }
Property Value
SketchToolUpdateOptions.Tool Property
Name of the update tool. The default tool is transform for graphics with polygon and polyline geometries and move for graphics with point and multipoint geometries. However, if a graphic with point geometry uses a 3D object symbol layer, the default tool is transform.
Possible Values:”move”|”transform”|”reshape”
public dymaptic.GeoBlazor.Pro.Components.Widgets.SketchTool Tool { get; set; }