BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
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
12 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 */
BMKCoordAlgorithm
BMKCoordAlgorithm
Definition BMKLineDrawType.h:69
kBMKDouglasPeucker
@ kBMKDouglasPeucker
Definition BMKLineDrawType.h:72
kBMKAlgorithmNone
@ kBMKAlgorithmNone
Definition BMKLineDrawType.h:70
kBMKBezierSmooth
@ kBMKBezierSmooth
Definition BMKLineDrawType.h:74
BMKLineDirectionCross180Type
BMKLineDirectionCross180Type
line跨经度180方式
Definition BMKLineDrawType.h:42
kBMKLineDirectionCross180TypeWEST_TO_EAST
@ kBMKLineDirectionCross180TypeWEST_TO_EAST
从西到东跨180经度
Definition BMKLineDrawType.h:45
kBMKLineDirectionCross180TypeNone
@ kBMKLineDirectionCross180TypeNone
不跨180经度
Definition BMKLineDrawType.h:43
kBMKLineDirectionCross180TypeEAST_TO_WEST
@ kBMKLineDirectionCross180TypeEAST_TO_WEST
从东到西跨180经度
Definition BMKLineDrawType.h:44
BMKLineDashType
BMKLineDashType
虚线绘制样式
Definition BMKLineDrawType.h:32
kBMKLineDashTypeSquare
@ kBMKLineDashTypeSquare
方块样式
Definition BMKLineDrawType.h:34
kBMKLineDashTypeRectangle
@ kBMKLineDashTypeRectangle
矩形样式 since 6.6.0
Definition BMKLineDrawType.h:36
kBMKLineDashTypeNone
@ kBMKLineDashTypeNone
实折线
Definition BMKLineDrawType.h:33
kBMKLineDashTypeDot
@ kBMKLineDashTypeDot
圆点样式
Definition BMKLineDrawType.h:35
BMKLineJoinType
BMKLineJoinType
line拐角处理方式（不支持虚线）
Definition BMKLineDrawType.h:13
kBMKLineJoinBevel
@ kBMKLineJoinBevel
平角衔接
Definition BMKLineDrawType.h:14
kBMKLineJoinBerzier
@ kBMKLineJoinBerzier
贝塞尔平滑衔接(仅支持多纹理和多颜色的polyline绘制) 此衔接不可以与kBMKLineCapRound配合使用
Definition BMKLineDrawType.h:17
kBMKLineJoinMiter
@ kBMKLineJoinMiter
尖角衔接(尖角过长(大于线宽)按平角处理)
Definition BMKLineDrawType.h:15
kBMKLineJoinRound
@ kBMKLineJoinRound
圆⻆衔接
Definition BMKLineDrawType.h:16
BMKLineCapType
BMKLineCapType
line头尾处理方式(不支持虚线)
Definition BMKLineDrawType.h:23
kBMKLineCapRound
@ kBMKLineCapRound
圆形头
Definition BMKLineDrawType.h:25
kBMKLineCapSquare
@ kBMKLineCapSquare
方头
Definition BMKLineDrawType.h:26
kBMKLineCapButt
@ kBMKLineCapButt
普通头
Definition BMKLineDrawType.h:24
BMKLineBloomMode
BMKLineBloomMode
line发光模式
Definition BMKLineDrawType.h:52
kBMKLineBloomModeBlur
@ kBMKLineBloomModeBlur
模糊发光模式
Definition BMKLineDrawType.h:55
kBMKLineBloomModeNone
@ kBMKLineBloomModeNone
不发光
Definition BMKLineDrawType.h:53
kBMKLineBloomModeGradient
@ kBMKLineBloomModeGradient
渐变发光模式
Definition BMKLineDrawType.h:54
BMKLineBloomDirection
BMKLineBloomDirection
line发光方向
Definition BMKLineDrawType.h:61
kBMKLineBloomDirectionLeft
@ kBMKLineBloomDirectionLeft
单侧向外，线行进方向左侧
Definition BMKLineDrawType.h:63
kBMKLineBloomDirectionAround
@ kBMKLineBloomDirectionAround
向两侧，默认
Definition BMKLineDrawType.h:62
kBMKLineBloomDirectionUp
@ kBMKLineBloomDirectionUp
向上，类似围栏
Definition BMKLineDrawType.h:65
kBMKLineBloomDirectionRight
@ kBMKLineBloomDirectionRight
单侧向内，线行进方向右侧
Definition BMKLineDrawType.h:64