ArcGIS Runtime SDK for iOS: AGSSimpleLineSymbol.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSimpleLineSymbol.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLineSymbol.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSSimpleLineSymbolStyle) {
49 };
50 
55 typedef NS_ENUM(NSInteger, AGSSimpleLineSymbolMarkerPlacement) {
59 };
60 
65 typedef NS_ENUM(NSInteger, AGSSimpleLineSymbolMarkerStyle) {
68 };
69 
71 
83 
84 #pragma mark -
85 #pragma mark initializers
86 
94 -(instancetype)initWithStyle:(AGSSimpleLineSymbolStyle)style color:(AGSColor *)color width:(CGFloat)width;
95 
103 +(instancetype)simpleLineSymbolWithStyle:(AGSSimpleLineSymbolStyle)style color:(AGSColor *)color width:(CGFloat)width;
104 
114 -(instancetype)initWithStyle:(AGSSimpleLineSymbolStyle)style color:(AGSColor *)color width:(CGFloat)width markerStyle:(AGSSimpleLineSymbolMarkerStyle)markerStyle markerPlacement:(AGSSimpleLineSymbolMarkerPlacement)markerPlacement;
115 
125 +(instancetype)simpleLineSymbolWithStyle:(AGSSimpleLineSymbolStyle)style color:(AGSColor *)color width:(CGFloat)width markerStyle:(AGSSimpleLineSymbolMarkerStyle)markerStyle markerPlacement:(AGSSimpleLineSymbolMarkerPlacement)markerPlacement;
126 
127 #pragma mark -
128 #pragma mark properties
129 
133 @property (nonatomic, assign, readwrite) AGSSimpleLineSymbolStyle style;
134 
138 @property (nonatomic, assign, readwrite) AGSSimpleLineSymbolMarkerPlacement markerPlacement;
139 
143 @property (nonatomic, assign, readwrite) AGSSimpleLineSymbolMarkerStyle markerStyle;
144 
145 #pragma mark -
146 #pragma mark methods
147 
155 
156 @end
157 
158 
#define AGSColor
Definition: AGSColor.h:34
AGSSimpleLineSymbolStyle
Definition: AGSSimpleLineSymbol.h:36
@ AGSSimpleLineSymbolStyleDashDot
Definition: AGSSimpleLineSymbol.h:38
@ AGSSimpleLineSymbolStyleNull
Definition: AGSSimpleLineSymbol.h:41
@ AGSSimpleLineSymbolStyleLongDashDot
Definition: AGSSimpleLineSymbol.h:44
@ AGSSimpleLineSymbolStyleDash
Definition: AGSSimpleLineSymbol.h:37
@ AGSSimpleLineSymbolStyleShortDashDotDot
Definition: AGSSimpleLineSymbol.h:47
@ AGSSimpleLineSymbolStyleShortDashDot
Definition: AGSSimpleLineSymbol.h:46
@ AGSSimpleLineSymbolStyleDashDotDot
Definition: AGSSimpleLineSymbol.h:39
@ AGSSimpleLineSymbolStyleShortDot
Definition: AGSSimpleLineSymbol.h:48
@ AGSSimpleLineSymbolStyleShortDash
Definition: AGSSimpleLineSymbol.h:45
@ AGSSimpleLineSymbolStyleDot
Definition: AGSSimpleLineSymbol.h:40
@ AGSSimpleLineSymbolStyleLongDash
Definition: AGSSimpleLineSymbol.h:43
@ AGSSimpleLineSymbolStyleSolid
Definition: AGSSimpleLineSymbol.h:42
AGSSimpleLineSymbolMarkerStyle
Definition: AGSSimpleLineSymbol.h:65
@ AGSSimpleLineSymbolMarkerStyleArrow
Definition: AGSSimpleLineSymbol.h:67
@ AGSSimpleLineSymbolMarkerStyleNone
Definition: AGSSimpleLineSymbol.h:66
AGSSimpleLineSymbolMarkerPlacement
Definition: AGSSimpleLineSymbol.h:55
@ AGSSimpleLineSymbolMarkerPlacementEnd
Definition: AGSSimpleLineSymbol.h:57
@ AGSSimpleLineSymbolMarkerPlacementBegin
Definition: AGSSimpleLineSymbol.h:56
@ AGSSimpleLineSymbolMarkerPlacementBeginAndEnd
Definition: AGSSimpleLineSymbol.h:58
An abstract base class for line symbols.
Definition: AGSLineSymbol.h:42
A multilayer polyline symbol.
Definition: AGSMultilayerPolylineSymbol.h:39
A line symbol based on simple patterns.
Definition: AGSSimpleLineSymbol.h:83
AGSSimpleLineSymbolStyle style
Definition: AGSSimpleLineSymbol.h:133
AGSSimpleLineSymbolMarkerPlacement markerPlacement
Definition: AGSSimpleLineSymbol.h:138
AGSMultilayerPolylineSymbol * toMultilayerSymbol()
AGSSimpleLineSymbolMarkerStyle markerStyle
Definition: AGSSimpleLineSymbol.h:143