ArcGIS Runtime SDK for iOS: AGSPictureFillSymbol.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSPictureFillSymbol.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/AGSFillSymbol.h>
27 #import <ArcGIS/AGSLoadable.h>
28 #import <ArcGIS/AGSRemoteResource.h>
29 #import <ArcGIS/AGSImage.h>
30  //Required for Globals API doc
32 
39 
40 
41 
42 #pragma mark -
43 #pragma mark initializers
44 
50 -(instancetype)initWithImage:(AGSImage*)image;
51 
57 -(instancetype)initWithURL:(NSURL*)URL;
58 
65 +(instancetype)pictureFillSymbolWithImage:(AGSImage*)image;
66 
73 +(instancetype)pictureFillSymbolWithURL:(NSURL*)URL;
74 
75 #pragma mark -
76 #pragma mark properties
77 
81 @property (nullable, nonatomic, strong, readonly) AGSImage *image;
82 
86 @property (nonatomic, assign, readwrite) CGFloat height;
87 
91 @property (nonatomic, assign, readwrite) CGFloat width;
92 
97 @property (nonatomic, assign, readwrite) float opacity;
98 
102 @property (nonatomic, assign, readwrite) double angle;
103 
107 @property (nonatomic, assign, readwrite) double scaleX;
108 
112 @property (nonatomic, assign, readwrite) double scaleY;
113 
114 #pragma mark -
115 #pragma mark methods
116 
117 
118 
119 @end
#define AGSImage
Definition: AGSImage.h:34
An abstract base class for fill symbols.
Definition: AGSFillSymbol.h:44
Uses an image to symbolize the fill for a polygon AGSGeoElement.
Definition: AGSPictureFillSymbol.h:38
CGFloat height
Definition: AGSPictureFillSymbol.h:86
float opacity
Definition: AGSPictureFillSymbol.h:97
AGSImage * image
Definition: AGSPictureFillSymbol.h:81
double angle
Definition: AGSPictureFillSymbol.h:102
double scaleX
Definition: AGSPictureFillSymbol.h:107
double scaleY
Definition: AGSPictureFillSymbol.h:112
CGFloat width
Definition: AGSPictureFillSymbol.h:91
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