ArcGIS Runtime SDK for iOS: AGSSimpleMarkerSceneSymbol.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSimpleMarkerSceneSymbol.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 #import <ArcGIS/AGSMarkerSceneSymbol.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSSimpleMarkerSceneSymbolStyle) {
43 };
44 
52 
53 #pragma mark -
54 #pragma mark initializers
55 
65 -(instancetype)initWithStyle:(AGSSimpleMarkerSceneSymbolStyle)style
66  color:(AGSColor *)color
67  height:(double)height
68  width:(double)width
69  depth:(double)depth
70  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
71 
72 +(instancetype)simpleMarkerSceneSymbol;
73 
74 
85 +(instancetype)simpleMarkerSceneSymbolWithStyle:(AGSSimpleMarkerSceneSymbolStyle)style
86  color:(AGSColor *)color
87  height:(double)height
88  width:(double)width
89  depth:(double)depth
90  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
91 
99 +(instancetype)coneWithColor:(AGSColor*)color
100  diameter:(double)diameter
101  height:(double)height;
102 
111 +(instancetype)coneWithColor:(AGSColor*)color
112  diameter:(double)diameter
113  height:(double)height
114  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
115 
116 
123 +(instancetype)cubeWithColor:(AGSColor*)color
124  size:(double)size;
125 
133 +(instancetype)cubeWithColor:(AGSColor*)color
134  size:(double)size
135  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
136 
144 +(instancetype)cylinderWithColor:(AGSColor*)color
145  diameter:(double)diameter
146  height:(double)height;
147 
156 +(instancetype)cylinderWithColor:(AGSColor*)color
157  diameter:(double)diameter
158  height:(double)height
159  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
160 
161 
168 +(instancetype)diamondWithColor:(AGSColor*)color
169  size:(double)size
170  height:(double)height;
171 
179 +(instancetype)diamondWithColor:(AGSColor*)color
180  size:(double)size
181  height:(double)height
182  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
183 
184 
191 +(instancetype)sphereWithColor:(AGSColor*)color
192  diameter:(double)diameter;
193 
201 +(instancetype)sphereWithColor:(AGSColor*)color
202  diameter:(double)diameter
203  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
204 
212 +(instancetype)tetrahedronWithColor:(AGSColor*)color
213  size:(double)size
214  height:(double)height;
215 
224 +(instancetype)tetrahedronWithColor:(AGSColor*)color
225  size:(double)size
226  height:(double)height
227  anchorPosition:(AGSSceneSymbolAnchorPosition)anchorPosition;
228 
229 #pragma mark -
230 #pragma mark properties
231 
235 @property (nonatomic, assign, readwrite) AGSSimpleMarkerSceneSymbolStyle style;
236 
237 #pragma mark -
238 #pragma mark methods
239 
240 @end
241 
242 
#define AGSColor
Definition: AGSColor.h:34
AGSSceneSymbolAnchorPosition
Definition: AGSMarkerSceneSymbol.h:36
AGSSimpleMarkerSceneSymbolStyle
Definition: AGSSimpleMarkerSceneSymbol.h:36
@ AGSSimpleMarkerSceneSymbolStyleDiamond
Definition: AGSSimpleMarkerSceneSymbol.h:40
@ AGSSimpleMarkerSceneSymbolStyleCylinder
Definition: AGSSimpleMarkerSceneSymbol.h:39
@ AGSSimpleMarkerSceneSymbolStyleTetrahedron
Definition: AGSSimpleMarkerSceneSymbol.h:42
@ AGSSimpleMarkerSceneSymbolStyleCube
Definition: AGSSimpleMarkerSceneSymbol.h:38
@ AGSSimpleMarkerSceneSymbolStyleCone
Definition: AGSSimpleMarkerSceneSymbol.h:37
@ AGSSimpleMarkerSceneSymbolStyleSphere
Definition: AGSSimpleMarkerSceneSymbol.h:41
An abstract base class for 3D marker symbols.
Definition: AGSMarkerSceneSymbol.h:53
A 3D marker symbol based on simple shapes.
Definition: AGSSimpleMarkerSceneSymbol.h:52
instancetype simpleMarkerSceneSymbol()
AGSSimpleMarkerSceneSymbolStyle style
Definition: AGSSimpleMarkerSceneSymbol.h:235