ArcGIS Runtime SDK for iOS: AGSBackgroundGrid.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSBackgroundGrid.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSColor.h>
28  //Required for Globals API doc
30 
39 
40 
41 #pragma mark -
42 #pragma mark initializers
43 
52 -(instancetype)initWithColor:(AGSColor*)color
53  gridLineColor:(AGSColor*)gridLineColor
54  gridLineWidth:(double)gridLineWidth
55  gridSize:(double)gridSize;
56 
65 +(instancetype)backgroundGridWithColor:(AGSColor*)color
66  gridLineColor:(AGSColor*)gridLineColor
67  gridLineWidth:(double)gridLineWidth
68  gridSize:(double)gridSize;
69 #pragma mark -
70 #pragma mark properties
71 
76 @property (nonatomic, strong, readwrite) AGSColor *color;
77 
82 @property (nonatomic, strong, readwrite) AGSColor *gridLineColor;
83 
89 @property (nonatomic, assign, readwrite) double gridLineWidth;
90 
95 @property (nonatomic, assign, readwrite) double gridSize;
96 
103 @property (nonatomic, assign, readwrite, getter=isVisible) BOOL visible;
104 
105 #pragma mark -
106 #pragma mark methods
107 
108 
109 @end
#define AGSColor
Definition: AGSColor.h:34
A background grid defines the default color and context grid for display behind a map or scene surfac...
Definition: AGSBackgroundGrid.h:39
BOOL visible
Definition: AGSBackgroundGrid.h:103
AGSColor * gridLineColor
Definition: AGSBackgroundGrid.h:82
double gridLineWidth
Definition: AGSBackgroundGrid.h:89
double gridSize
Definition: AGSBackgroundGrid.h:95
AGSColor * color
Definition: AGSBackgroundGrid.h:76
Definition: AGSObject.h:28