ArcGIS Runtime SDK for iOS: AGSRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSRenderer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 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/AGSObject.h>
29 #import <ArcGIS/AGSJSONSerializable.h>
30 
31 
32 
37 typedef NS_ENUM(NSInteger, AGSRotationType) {
40 };
41 
42 @class AGSSymbol;
43 @class AGSFeature;
44 @class AGSGraphic;
46 
55 @interface AGSRenderer : AGSObject <AGSJSONSerializable, NSCopying>
56 
57 #pragma mark -
58 #pragma mark initializers
59 
60 #pragma mark -
61 #pragma mark properties
62 
66 @property (nonatomic, copy, readwrite) NSString *rotationExpression;
67 
71 @property (nonatomic, assign, readwrite) AGSRotationType rotationType;
72 
76 @property (nullable, nonatomic, strong, readwrite) AGSRendererSceneProperties *sceneProperties;
77 
78 #pragma mark -
79 #pragma mark methods
80 
86 -(BOOL)isEqualToRenderer:(AGSRenderer*)other;
87 
88 
94 -(AGSSymbol*)symbolForFeature:(AGSFeature*)feature;
95 
107 -(AGSSymbol*)symbolForFeature:(AGSFeature*)feature applyAttributeOverrides:(BOOL)applyAttributeOverrides;
108 
109 
115 -(AGSSymbol*)symbolForGraphic:(AGSGraphic*)graphic;
116 
123 -(AGSSymbol*)symbolForGraphic:(AGSGraphic*)graphic applyAttributeOverrides:(BOOL)applyAttributeOverrides;
124 
125 @end
126 
127 
AGSRotationType
Definition: AGSRenderer.h:37
@ AGSRotationTypeGeographic
Definition: AGSRenderer.h:39
@ AGSRotationTypeArithmetic
Definition: AGSRenderer.h:38
A representation of a real-world object on a map.
Definition: AGSFeature.h:47
A graphic on top of a map.
Definition: AGSGraphic.h:58
Definition: AGSObject.h:28
An abstract base class for renderers.
Definition: AGSRenderer.h:55
AGSRendererSceneProperties * sceneProperties
Definition: AGSRenderer.h:76
NSString * rotationExpression
Definition: AGSRenderer.h:66
AGSRotationType rotationType
Definition: AGSRenderer.h:71
Renderer properties that apply only to graphics or features in 3D Scenes.
Definition: AGSRendererSceneProperties.h:51
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:93
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38