ArcGIS Runtime SDK for iOS: AGSSketchEditConfiguration.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSketchEditConfiguration.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 
29 
30 
35 typedef NS_ENUM(NSInteger, AGSSketchVertexEditMode) {
38 };
39 
44 typedef NS_ENUM(NSInteger, AGSSketchResizeMode) {
48 };
49 
56 @interface AGSSketchEditConfiguration : NSObject
57 
61 @property (nonatomic, assign, readwrite) BOOL allowPartSelection;
62 
66 @property (nonatomic, assign, readwrite) BOOL requireSelectionBeforeDrag;
67 
71 @property (nonatomic, assign, readwrite) AGSSketchVertexEditMode vertexEditMode;
72 
76 @property (nonatomic, assign, readwrite, getter=isContextMenuEnabled) BOOL contextMenuEnabled;
77 
81 @property (nonatomic, assign, readwrite) BOOL allowVertexEditing;
82 
86 @property (nonatomic, assign, readwrite) BOOL allowRotate;
87 
91 @property (nonatomic, assign, readwrite) BOOL allowMoveParts;
92 
96 @property (nonatomic, assign, readwrite) AGSSketchResizeMode resizeMode;
97 
98 @end
99 
100 
AGSSketchResizeMode
Definition: AGSSketchEditConfiguration.h:44
@ AGSSketchResizeModeStretch
Definition: AGSSketchEditConfiguration.h:46
@ AGSSketchResizeModeNone
Definition: AGSSketchEditConfiguration.h:45
@ AGSSketchResizeModeUniform
Definition: AGSSketchEditConfiguration.h:47
AGSSketchVertexEditMode
Definition: AGSSketchEditConfiguration.h:35
@ AGSSketchVertexEditModeInteractionEdit
Definition: AGSSketchEditConfiguration.h:36
@ AGSSketchVertexEditModeSelectOnly
Definition: AGSSketchEditConfiguration.h:37
Represents edit configuration for AGSSketchEditor.
Definition: AGSSketchEditConfiguration.h:57
BOOL allowPartSelection
Definition: AGSSketchEditConfiguration.h:61
AGSSketchVertexEditMode vertexEditMode
Definition: AGSSketchEditConfiguration.h:71
BOOL requireSelectionBeforeDrag
Definition: AGSSketchEditConfiguration.h:66
BOOL contextMenuEnabled
Definition: AGSSketchEditConfiguration.h:76
BOOL allowMoveParts
Definition: AGSSketchEditConfiguration.h:91
AGSSketchResizeMode resizeMode
Definition: AGSSketchEditConfiguration.h:96
BOOL allowVertexEditing
Definition: AGSSketchEditConfiguration.h:81
BOOL allowRotate
Definition: AGSSketchEditConfiguration.h:86