ArcGIS Runtime SDK for iOS: AGSSimpleMarkerSymbol.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSimpleMarkerSymbol.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/AGSMarkerSymbol.h>
29 #import <ArcGIS/AGSColor.h>
30 
31 
32 
37 typedef NS_ENUM(NSInteger, AGSSimpleMarkerSymbolStyle) {
44 };
45 
46 @class AGSSimpleLineSymbol;
48 
61 
62 #pragma mark -
63 #pragma mark initializers
64 
72 -(instancetype)initWithStyle:(AGSSimpleMarkerSymbolStyle)style color:(AGSColor *)color size:(CGFloat)size;
73 
81 +(instancetype)simpleMarkerSymbolWithStyle:(AGSSimpleMarkerSymbolStyle)style color:(AGSColor *)color size:(CGFloat)size;
82 
83 
88 +(instancetype)simpleMarkerSymbol;
89 
90 #pragma mark -
91 #pragma mark properties
92 
96 @property (nonatomic, strong, readwrite) AGSColor *color;
97 
101 @property (nullable, nonatomic, strong, readwrite) AGSSimpleLineSymbol *outline;
102 
106 @property (nonatomic, assign, readwrite) CGFloat size;
107 
111 @property (nonatomic, assign, readwrite) AGSSimpleMarkerSymbolStyle style;
112 
113 
114 #pragma mark -
115 #pragma mark methods
123 
124 @end
125 
126 
#define AGSColor
Definition: AGSColor.h:34
AGSSimpleMarkerSymbolStyle
Definition: AGSSimpleMarkerSymbol.h:37
@ AGSSimpleMarkerSymbolStyleDiamond
Definition: AGSSimpleMarkerSymbol.h:40
@ AGSSimpleMarkerSymbolStyleX
Definition: AGSSimpleMarkerSymbol.h:43
@ AGSSimpleMarkerSymbolStyleSquare
Definition: AGSSimpleMarkerSymbol.h:41
@ AGSSimpleMarkerSymbolStyleTriangle
Definition: AGSSimpleMarkerSymbol.h:42
@ AGSSimpleMarkerSymbolStyleCircle
Definition: AGSSimpleMarkerSymbol.h:38
@ AGSSimpleMarkerSymbolStyleCross
Definition: AGSSimpleMarkerSymbol.h:39
An abstract base class for marker symbols.
Definition: AGSMarkerSymbol.h:89
A multilayer point symbol.
Definition: AGSMultilayerPointSymbol.h:39
A line symbol based on simple patterns.
Definition: AGSSimpleLineSymbol.h:83
A marker symbol based on simple shapes.
Definition: AGSSimpleMarkerSymbol.h:61
AGSSimpleMarkerSymbolStyle style
Definition: AGSSimpleMarkerSymbol.h:111
AGSMultilayerPointSymbol * toMultilayerSymbol()
instancetype simpleMarkerSymbol()
CGFloat size
Definition: AGSSimpleMarkerSymbol.h:106
AGSColor * color
Definition: AGSSimpleMarkerSymbol.h:96
AGSSimpleLineSymbol * outline
Definition: AGSSimpleMarkerSymbol.h:101