21 #import <Foundation/Foundation.h> 22 #import <ArcGIS/AGSDefines.h> 23 #import <ArcGIS/AGSGeometry.h> 71 #pragma mark initializers 76 #pragma mark properties 86 @property (nonatomic, strong, readonly) NSUndoManager *
undoManager;
91 @property (nonatomic, assign, readwrite)
float opacity;
96 @property (nonatomic, assign, readwrite, getter=isVisible) BOOL
visible;
101 @property (nonatomic, assign, readonly, getter=isStarted) BOOL
started;
132 @property (nonatomic, assign, readonly, getter=isSketchValid) BOOL
sketchValid;
152 #pragma mark start/stop methods 168 -(BOOL)startWithGeometry:(nullable
AGSGeometry*)geometry
178 -(BOOL)startWithGeometry:(nullable
AGSGeometry*)geometry
211 #pragma mark mutate geometry methods 228 -(BOOL)insertVertexAfterSelectedVertexWithPoint:(
AGSPoint*)point;
233 -(BOOL)moveSelectedVertexToPoint:(
AGSPoint*)point;
A class that represents a vertex or mid-vertex in the AGSSketchEditor.
Definition: AGSSketchVertex.h:39
BOOL visible
Definition: AGSSketchEditor.h:96
Defines common members for all specific types of geometry.
Definition: AGSGeometry.h:106
Definition: AGSSketchEditor.h:33
Definition: AGSSketchEditor.h:39
Definition: AGSSketchEditor.h:40
Definition: AGSSketchEditor.h:37
AGSSketchEditConfiguration * editConfiguration
Definition: AGSSketchEditor.h:142
AGSSketchStyle * style
Definition: AGSSketchEditor.h:137
AGS_EXTERN NSNotificationName __nonnull const AGSSketchEditorGeometryDidChangeNotification
Definition: AGSSketchEditor.h:49
Definition: AGSSketchEditor.h:38
instancetype sketchEditor()
Definition: AGSSketchEditor.h:42
AGSSketchVertex * selectedVertex
Definition: AGSSketchEditor.h:147
Definition: AGSSketchEditor.h:43
AGSGeometryType
Definition: AGSGeometry.h:42
Definition: AGSSketchEditor.h:34
AGSSketchCreationMode creationMode
Definition: AGSSketchEditor.h:81
BOOL started
Definition: AGSSketchEditor.h:101
Represents edit configuration for AGSSketchEditor.
Definition: AGSSketchEditConfiguration.h:50
#define AGS_EXTERN
Definition: AGSDefines.h:22
Definition: AGSSketchEditor.h:41
BOOL removeSelectedVertex()
BOOL sketchValid
Definition: AGSSketchEditor.h:132
float opacity
Definition: AGSSketchEditor.h:91
NSUndoManager * undoManager
Definition: AGSSketchEditor.h:86
Style for the visual appearance of AGSSketchEditor.
Definition: AGSSketchStyle.h:35
AGSSketchCreationMode
Definition: AGSSketchEditor.h:32
AGSGeometry * geometry
Definition: AGSSketchEditor.h:107
A class that allows the user to sketch geometries on the map.
Definition: AGSSketchEditor.h:68
Definition: AGSSketchEditor.h:36
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
Definition: AGSSketchEditor.h:35