ArcGIS Runtime SDK for iOS: AGSKMLImageCoordinate.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSKMLImageCoordinate.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 
30 
31 
46 typedef NS_ENUM(NSInteger, AGSKMLUnitsType) {
55 };
56 
72 
73 #pragma mark -
74 #pragma mark initializers
75 
76 
77 
85 -(instancetype)initWithX:(double)x
86  y:(double)y
87  xUnits:(AGSKMLUnitsType)xUnits
88  yUnits:(AGSKMLUnitsType)yUnits;
89 
97 +(instancetype)KMLImageCoordinateWithX:(double)x
98  y:(double)y
99  xUnits:(AGSKMLUnitsType)xUnits
100  yUnits:(AGSKMLUnitsType)yUnits;
101 
102 #pragma mark -
103 #pragma mark properties
104 
109 @property (nonatomic, assign, readonly) double x;
110 
115 @property (nonatomic, assign, readonly) AGSKMLUnitsType xUnits;
116 
121 @property (nonatomic, assign, readonly) double y;
122 
127 @property (nonatomic, assign, readonly) AGSKMLUnitsType yUnits;
128 
129 #pragma mark -
130 #pragma mark methods
131 
132 @end
133 
134 
AGSKMLUnitsType
Definition: AGSKMLImageCoordinate.h:46
@ AGSKMLUnitsTypeFraction
Definition: AGSKMLImageCoordinate.h:47
@ AGSKMLUnitsTypePixels
Definition: AGSKMLImageCoordinate.h:50
@ AGSKMLUnitsTypeInsetPixels
Definition: AGSKMLImageCoordinate.h:52
A KML image coordinate object.
Definition: AGSKMLImageCoordinate.h:72
double y
Definition: AGSKMLImageCoordinate.h:121
AGSKMLUnitsType xUnits
Definition: AGSKMLImageCoordinate.h:115
AGSKMLUnitsType yUnits
Definition: AGSKMLImageCoordinate.h:127
double x
Definition: AGSKMLImageCoordinate.h:109
Definition: AGSObject.h:28