ArcGIS Runtime SDK for iOS: AGSSymbolAnchor.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSymbolAnchor.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 /*@file AGSSymbolAnchor.h */
26 
27 #import <Foundation/Foundation.h>
28 
29 
30 
34 typedef NS_ENUM(NSInteger, AGSSymbolAnchorPlacementMode) {
37 };
38 
46 typedef struct AGSSymbolAnchor {
47  double x;
48  double y;
51 
59 static inline AGSSymbolAnchor AGSSymbolAnchorMake(double x, double y, AGSSymbolAnchorPlacementMode placementMode) {
60  AGSSymbolAnchor symbolAnchor = {x,y,placementMode};
61  return symbolAnchor;
62 }
63 
64 
AGSSymbolAnchorPlacementMode
Definition: AGSSymbolAnchor.h:34
@ AGSSymbolAnchorPlacementModeAbsolute
Definition: AGSSymbolAnchor.h:36
@ AGSSymbolAnchorPlacementModeRelative
Definition: AGSSymbolAnchor.h:35
static AGSSymbolAnchor AGSSymbolAnchorMake(double x, double y, AGSSymbolAnchorPlacementMode placementMode)
Definition: AGSSymbolAnchor.h:59
struct AGSSymbolAnchor AGSSymbolAnchor
The anchor of a symbol layer, including placement mode and x, y anchor values.
The anchor of a symbol layer, including placement mode and x, y anchor values.
Definition: AGSSymbolAnchor.h:46
double x
Definition: AGSSymbolAnchor.h:47
double y
Definition: AGSSymbolAnchor.h:48
AGSSymbolAnchorPlacementMode placementMode
Definition: AGSSymbolAnchor.h:49