BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKLineDrawType.h
浏览该文件的文档.
1 //
2 // BMKLineDrawType.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2019/8/7.
6 // Copyright © 2019 Baidu. All rights reserved.
7 //
8
9 #ifndef BMKLineDrawType_h
10 #define BMKLineDrawType_h
11 enum BMKLineJoinType
13 {
14 kBMKLineJoinBevel = 0,
15 kBMKLineJoinMiter,
16 kBMKLineJoinRound,
17 kBMKLineJoinBerzier
18 };
19 typedef enum BMKLineJoinType BMKLineJoinType;
20
22 enum BMKLineCapType
23 {
24 kBMKLineCapButt = 0,
25 kBMKLineCapRound,
26 kBMKLineCapSquare
27 };
28 typedef enum BMKLineCapType BMKLineCapType;
29
31 enum BMKLineDashType
32 {
33 kBMKLineDashTypeNone = 0,
34 kBMKLineDashTypeSquare,
35 kBMKLineDashTypeDot,
36 kBMKLineDashTypeRectangle
37 };
38 typedef enum BMKLineDashType BMKLineDashType;
39
41 enum BMKLineDirectionCross180Type
42 {
43 kBMKLineDirectionCross180TypeNone = 0,
44 kBMKLineDirectionCross180TypeEAST_TO_WEST,
45 kBMKLineDirectionCross180TypeWEST_TO_EAST
46 };
47 typedef enum BMKLineDirectionCross180Type BMKLineDirectionCross180Type;
48
49
51 enum BMKLineBloomMode
52 {
53 kBMKLineBloomModeNone = 0,
54 kBMKLineBloomModeGradient,
55 kBMKLineBloomModeBlur
56 };
57 typedef enum BMKLineBloomMode BMKLineBloomMode;
58
60 enum BMKLineBloomDirection
61 {
62 kBMKLineBloomDirectionAround = 0,
63 kBMKLineBloomDirectionLeft,
64 kBMKLineBloomDirectionRight,
65 kBMKLineBloomDirectionUp
66 };
67 typedef enum BMKLineBloomDirection BMKLineBloomDirection;
68
69 enum BMKCoordAlgorithm {
70 kBMKAlgorithmNone = (0x1 << 0), // 不处理
71
72 kBMKDouglasPeucker = (0x1 << 1), // 道格拉斯抽稀
73
74 kBMKBezierSmooth = (0x1 << 5), // Bezier平滑
75 // kBMKCardinalSmooth = (0x1 << 6), // Cardinal平滑，不支持geo连接点的平滑，暂时不放开
76 // kBMKCurveSmooth = (0x1 << 7), // 曲线平滑，没有插入新点, 无需threshold，不支持geo连接点的平滑，暂时不放开
77 };
78 typedef enum BMKCoordAlgorithm BMKCoordAlgorithm;
79
80 #endif /* BMKLineDrawType_h */
kBMKLineJoinMiter
@ kBMKLineJoinMiter
尖角衔接(尖角过长(大于线宽)按平角处理)
Definition: BMKLineDrawType.h:15
BMKLineDirectionCross180Type
BMKLineDirectionCross180Type
line跨经度180方式
Definition: BMKLineDrawType.h:42
BMKLineBloomDirection
BMKLineBloomDirection
line发光方向
Definition: BMKLineDrawType.h:61
kBMKLineJoinBevel
@ kBMKLineJoinBevel
平角衔接
Definition: BMKLineDrawType.h:14
kBMKLineBloomDirectionRight
@ kBMKLineBloomDirectionRight
单侧向内，线行进方向右侧
Definition: BMKLineDrawType.h:64
kBMKLineBloomModeBlur
@ kBMKLineBloomModeBlur
模糊发光模式
Definition: BMKLineDrawType.h:55
kBMKLineDirectionCross180TypeNone
@ kBMKLineDirectionCross180TypeNone
不跨180经度
Definition: BMKLineDrawType.h:43
kBMKLineBloomDirectionUp
@ kBMKLineBloomDirectionUp
向上，类似围栏
Definition: BMKLineDrawType.h:65
kBMKLineDashTypeSquare
@ kBMKLineDashTypeSquare
方块样式
Definition: BMKLineDrawType.h:34
kBMKLineDashTypeNone
@ kBMKLineDashTypeNone
实折线
Definition: BMKLineDrawType.h:33
kBMKLineCapSquare
@ kBMKLineCapSquare
方头
Definition: BMKLineDrawType.h:26
kBMKLineBloomModeGradient
@ kBMKLineBloomModeGradient
渐变发光模式
Definition: BMKLineDrawType.h:54
kBMKLineDashTypeRectangle
@ kBMKLineDashTypeRectangle
矩形样式 since 6.6.0
Definition: BMKLineDrawType.h:36
BMKLineJoinType
BMKLineJoinType
line拐角处理方式（不支持虚线）
Definition: BMKLineDrawType.h:13
kBMKDouglasPeucker
@ kBMKDouglasPeucker
Definition: BMKLineDrawType.h:72
BMKLineDashType
BMKLineDashType
虚线绘制样式
Definition: BMKLineDrawType.h:32
kBMKLineDashTypeDot
@ kBMKLineDashTypeDot
圆点样式
Definition: BMKLineDrawType.h:35
kBMKLineJoinRound
@ kBMKLineJoinRound
圆⻆衔接
Definition: BMKLineDrawType.h:16
kBMKLineCapRound
@ kBMKLineCapRound
圆形头
Definition: BMKLineDrawType.h:25
BMKLineBloomMode
BMKLineBloomMode
line发光模式
Definition: BMKLineDrawType.h:52
BMKCoordAlgorithm
BMKCoordAlgorithm
Definition: BMKLineDrawType.h:69
kBMKAlgorithmNone
@ kBMKAlgorithmNone
Definition: BMKLineDrawType.h:70
kBMKLineDirectionCross180TypeWEST_TO_EAST
@ kBMKLineDirectionCross180TypeWEST_TO_EAST
从西到东跨180经度
Definition: BMKLineDrawType.h:45
kBMKLineJoinBerzier
@ kBMKLineJoinBerzier
贝塞尔平滑衔接(仅支持多纹理和多颜色的polyline绘制) 此衔接不可以与kBMKLineCapRound配合使用
Definition: BMKLineDrawType.h:17
kBMKBezierSmooth
@ kBMKBezierSmooth
Definition: BMKLineDrawType.h:74
kBMKLineBloomDirectionAround
@ kBMKLineBloomDirectionAround
向两侧，默认
Definition: BMKLineDrawType.h:62
kBMKLineCapButt
@ kBMKLineCapButt
普通头
Definition: BMKLineDrawType.h:24
BMKLineCapType
BMKLineCapType
line头尾处理方式(不支持虚线)
Definition: BMKLineDrawType.h:23
kBMKLineBloomDirectionLeft
@ kBMKLineBloomDirectionLeft
单侧向外，线行进方向左侧
Definition: BMKLineDrawType.h:63
kBMKLineDirectionCross180TypeEAST_TO_WEST
@ kBMKLineDirectionCross180TypeEAST_TO_WEST
从东到西跨180经度
Definition: BMKLineDrawType.h:44
kBMKLineBloomModeNone
@ kBMKLineBloomModeNone
不发光
Definition: BMKLineDrawType.h:53