ArcGIS Runtime SDK for iOS: AGSSimpleRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSimpleRenderer.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSRenderer.h>
27 
28 @class AGSSymbol;
29  //Required for Globals API doc
31 
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
55 -(instancetype)initWithSymbol:(nullable AGSSymbol*)symbol;
56 
61 +(instancetype)simpleRenderer;
62 
68 +(instancetype)simpleRendererWithSymbol:(nullable AGSSymbol*)symbol;
69 
70 #pragma mark -
71 #pragma mark properties
72 
76 @property (nullable, nonatomic, strong, readwrite) AGSSymbol *symbol;
77 
81 @property (nonatomic, copy, readwrite) NSString *rendererDescription;
82 
83 /* The label for the renderer
84  @since 100
85  */
86 @property (nonatomic, copy, readwrite) NSString *label;
87 
88 #pragma mark -
89 #pragma mark methods
90 
91 
92 @end
An abstract base class for renderers.
Definition: AGSRenderer.h:55
A simple renderer based on a single symbol.
Definition: AGSSimpleRenderer.h:45
NSString * rendererDescription
Definition: AGSSimpleRenderer.h:81
AGSSymbol * symbol
Definition: AGSSimpleRenderer.h:76
NSString * label
Definition: AGSSimpleRenderer.h:86
instancetype simpleRenderer()
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:91