-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKMLStyle.h
53 lines (39 loc) · 972 Bytes
/
KMLStyle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// KMLStyle.h
// KMLViewer
//
// Created by Mojtaba Cazi on 2/27/18.
//
#import "KMLElement.h"
// Represents a KML <Style> element. <Style> elements may either be specified
// at the top level of the KML document with identifiers or they may be
// specified anonymously within a Geometry element.
@interface KMLStyle : KMLElement {
UIColor *strokeColor;
CGFloat strokeWidth;
UIColor *fillColor;
BOOL fill;
BOOL stroke;
struct {
int inLineStyle:1;
int inPolyStyle:1;
int inColor:1;
int inWidth:1;
int inFill:1;
int inOutline:1;
} flags;
}
- (void)beginLineStyle;
- (void)endLineStyle;
- (void)beginPolyStyle;
- (void)endPolyStyle;
- (void)beginColor;
- (void)endColor;
- (void)beginWidth;
- (void)endWidth;
- (void)beginFill;
- (void)endFill;
- (void)beginOutline;
- (void)endOutline;
- (void)applyToOverlayPathRenderer:(MKOverlayPathRenderer *)renderer;
@end