27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSDefines.h>
29 #import <ArcGIS/AGSGeometry.h>
77 #pragma mark initializers
82 #pragma mark properties
92 @property (nonatomic, strong, readonly) NSUndoManager *
undoManager;
97 @property (nonatomic, assign, readwrite)
float opacity;
102 @property (nonatomic, assign, readwrite, getter=isVisible) BOOL
visible;
107 @property (nonatomic, assign, readonly, getter=isStarted) BOOL
started;
138 @property (nonatomic, assign, readonly, getter=isSketchValid) BOOL
sketchValid;
158 #pragma mark start/stop methods
174 -(BOOL)startWithGeometry:(nullable
AGSGeometry*)geometry
184 -(BOOL)startWithGeometry:(nullable
AGSGeometry*)geometry
217 #pragma mark mutate geometry methods
234 -(BOOL)insertVertexAfterSelectedVertexWithPoint:(
AGSPoint*)point;
239 -(BOOL)moveSelectedVertexToPoint:(
AGSPoint*)point;
#define AGS_EXTERN
Definition: AGSDefines.h:28
AGSGeometryType
Definition: AGSGeometry.h:49
AGSSketchCreationMode
Definition: AGSSketchEditor.h:38
@ AGSSketchCreationModePolyline
Definition: AGSSketchEditor.h:42
@ AGSSketchCreationModePolygon
Definition: AGSSketchEditor.h:43
@ AGSSketchCreationModeEllipse
Definition: AGSSketchEditor.h:47
@ AGSSketchCreationModeUnset
Definition: AGSSketchEditor.h:39
@ AGSSketchCreationModeArrow
Definition: AGSSketchEditor.h:49
@ AGSSketchCreationModeFreehandPolygon
Definition: AGSSketchEditor.h:45
@ AGSSketchCreationModePoint
Definition: AGSSketchEditor.h:40
@ AGSSketchCreationModeRectangle
Definition: AGSSketchEditor.h:46
@ AGSSketchCreationModeFreehandPolyline
Definition: AGSSketchEditor.h:44
@ AGSSketchCreationModeTriangle
Definition: AGSSketchEditor.h:48
@ AGSSketchCreationModeMultipoint
Definition: AGSSketchEditor.h:41
AGS_EXTERN NSNotificationName __nonnull const AGSSketchEditorGeometryDidChangeNotification
Definition: AGSSketchEditor.h:55
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents edit configuration for AGSSketchEditor.
Definition: AGSSketchEditConfiguration.h:57
A class that allows the user to sketch geometries on the map.
Definition: AGSSketchEditor.h:75
NSUndoManager * undoManager
Definition: AGSSketchEditor.h:92
float opacity
Definition: AGSSketchEditor.h:97
instancetype sketchEditor()
BOOL sketchValid
Definition: AGSSketchEditor.h:138
AGSSketchStyle * style
Definition: AGSSketchEditor.h:143
AGSGeometry * geometry
Definition: AGSSketchEditor.h:113
BOOL removeSelectedVertex()
AGSSketchEditConfiguration * editConfiguration
Definition: AGSSketchEditor.h:148
AGSSketchVertex * selectedVertex
Definition: AGSSketchEditor.h:153
BOOL started
Definition: AGSSketchEditor.h:107
AGSSketchCreationMode creationMode
Definition: AGSSketchEditor.h:87
BOOL visible
Definition: AGSSketchEditor.h:102
Style for the visual appearance of AGSSketchEditor.
Definition: AGSSketchStyle.h:42
A class that represents a vertex or mid-vertex in the AGSSketchEditor.
Definition: AGSSketchVertex.h:46