ArcGIS Runtime SDK for iOS: AGSImageFrame.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSImageFrame.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/AGSLoadableBase.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 #import <ArcGIS/AGSImage.h>
31 
32 
33 
34 @class AGSEnvelope;
35 @class AGSPolygon;
36 
45 
46 #pragma mark -
47 #pragma mark initializers
48 
49 
50 
62 - (instancetype)initWithImage:(AGSImage *)image
63  extent:(AGSEnvelope *)extent;
64 
76 + (instancetype)imageFrameWithImage:(AGSImage *)image
77  extent:(AGSEnvelope *)extent;
78 
90 - (instancetype)initWithImage:(AGSImage *)image
91  quadrilateral:(AGSPolygon *)quadrilateral;
92 
104 + (instancetype)imageFrameWithImage:(AGSImage *)image
105  quadrilateral:(AGSPolygon *)quadrilateral;
106 
113 - (instancetype)initWithURL:(NSURL *)URL;
114 
121 + (instancetype)imageFrameWithURL:(NSURL *)URL;
122 
132 - (instancetype)initWithURL:(NSURL *)URL
133  extent:(AGSEnvelope *)extent;
134 
144 + (instancetype)imageFrameWithURL:(NSURL *)URL
145  extent:(AGSEnvelope *)extent;
146 
157 - (instancetype)initWithURL:(NSURL *)URL
158  quadrilateral:(AGSPolygon *)quadrilateral;
159 
170 + (instancetype)imageFrameWithURL:(NSURL *)URL
171  quadrilateral:(AGSPolygon *)quadrilateral;
172 
173 #pragma mark -
174 #pragma mark properties
175 
179 @property (nullable, nonatomic, strong, readonly) AGSEnvelope *extent;
180 
184 @property (nullable, nonatomic, strong, readonly) AGSImage *image;
185 
189 @property (nullable, nonatomic, strong, readonly) AGSPolygon *quadrilateral;
190 
191 #pragma mark -
192 #pragma mark methods
193 
194 @end
195 
196 
#define AGSImage
Definition: AGSImage.h:34
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
A frame that, when added to an AGSImageOverlay, renders an image on top of a scene.
Definition: AGSImageFrame.h:44
AGSEnvelope * extent
Definition: AGSImageFrame.h:179
AGSImage * image
Definition: AGSImageFrame.h:184
AGSPolygon * quadrilateral
Definition: AGSImageFrame.h:189
A base class for loadables.
Definition: AGSLoadableBase.h:45
A multipart shape used to represent an area.
Definition: AGSPolygon.h:78
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40