ArcGIS Runtime SDK for iOS: AGSClassBreak.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSClassBreak.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/AGSObject.h>
27 #import <ArcGIS/AGSJSONSerializable.h>
28 
29 @class AGSSymbol;
30  //Required for Globals API doc
32 
84 @interface AGSClassBreak : AGSObject <AGSJSONSerializable, NSCopying>
85 
86 
87 #pragma mark -
88 #pragma mark initializers
89 
99 - (instancetype)initWithDescription:(NSString *)description
100  label:(NSString *)label
101  minValue:(double)minValue
102  maxValue:(double)maxValue
103  symbol:(AGSSymbol *)symbol;
104 
109 +(instancetype)classBreak;
110 
120 +(instancetype)classBreakWithDescription:(NSString *)description
121  label:(NSString *)label
122  minValue:(double)minValue
123  maxValue:(double)maxValue
124  symbol:(AGSSymbol *)symbol;
125 
126 #pragma mark -
127 #pragma mark properties
128 
132 @property (nonatomic, copy, readwrite) NSString * label;
133 
137 @property (nonatomic, copy, readwrite) NSString * breakDescription;
138 
142 @property (nonatomic, assign, readwrite) double minValue;
143 
147 @property (nonatomic, assign, readwrite) double maxValue;
148 
152 @property (nullable, nonatomic, strong, readwrite) AGSSymbol * symbol;
153 
154 #pragma mark -
155 #pragma mark methods
156 
162 -(BOOL)isEqualToClassBreak:(AGSClassBreak*)other;
163 
164 
165 @end
A class break object used to categorize a group of values that fall within a range of values.
Definition: AGSClassBreak.h:84
instancetype classBreak()
AGSSymbol * symbol
Definition: AGSClassBreak.h:152
NSString * label
Definition: AGSClassBreak.h:132
double minValue
Definition: AGSClassBreak.h:142
NSString * breakDescription
Definition: AGSClassBreak.h:137
double maxValue
Definition: AGSClassBreak.h:147
Definition: AGSObject.h:28
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:91
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38