ArcGIS Runtime SDK for iOS: AGSPictureMarkerSymbol.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSPictureMarkerSymbol.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/AGSMarkerSymbol.h>
27 #import <ArcGIS/AGSLoadable.h>
28 #import <ArcGIS/AGSRemoteResource.h>
29 #import <ArcGIS/AGSImage.h>
30  //Required for Globals API doc
32 
43 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
48 
49 
55 -(instancetype)initWithImage:(AGSImage*)image;
56 
62 -(instancetype)initWithURL:(NSURL*)URL;
63 
70 +(instancetype)pictureMarkerSymbolWithImage:(AGSImage*)image;
71 
78 +(instancetype)pictureMarkerSymbolWithURL:(NSURL*)URL;
79 
80 
81 #pragma mark -
82 #pragma mark properties
83 
87 @property (nullable, nonatomic, strong, readonly) AGSImage *image;
88 
92 @property (nonatomic, assign, readwrite) CGFloat height;
93 
97 @property (nonatomic, assign, readwrite) CGFloat width;
98 
103 @property (nonatomic, assign, readwrite) float opacity;
104 
105 #pragma mark -
106 #pragma mark methods
107 
108 
109 @end
110 
111 
#define AGSImage
Definition: AGSImage.h:34
An abstract base class for marker symbols.
Definition: AGSMarkerSymbol.h:89
Uses an image to symbolize AGSGeomElement that has AGSPoint or AGSMultipoint geometry.
Definition: AGSPictureMarkerSymbol.h:42
CGFloat width
Definition: AGSPictureMarkerSymbol.h:97
CGFloat height
Definition: AGSPictureMarkerSymbol.h:92
AGSImage * image
Definition: AGSPictureMarkerSymbol.h:87
float opacity
Definition: AGSPictureMarkerSymbol.h:103
A protocol adopted by classes that can load data asynchronously.
Definition: AGSLoadable.h:72
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40