BaiduMap_IOSSDK_v7.0.0_Docs 7.0.0

BMKPolylineView.h
浏览该文件的文档.
1 /*
2 * BMKPolylineView.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKGeometryView.h"
10 #import "BMKPolyline.h"
11
12 NS_ASSUME_NONNULL_BEGIN
14 @interface BMKPolylineView : BMKGeometryView
15
19 - (nullable instancetype)initWithPolyline:(BMKPolyline *)polyline;
20
22 @property (nonatomic, readonly) BMKPolyline *polyline;
23
25 @property (nonatomic, assign) BMKLineJoinType lineJoinType;
26
28 @property (nonatomic, assign) BMKLineCapType lineCapType;
29
31 @property (nonatomic, assign) BOOL isClickable;
32
35 @property (nonatomic, assign) BMKLineBloomMode lineBloomMode;
36
38 @property (nonatomic, assign) BMKLineBloomDirection lineBloomDirection;
39
41 @property (nonatomic, assign) CGFloat lineBloomWidth;
42
44 @property (nonatomic, assign) CGFloat lineBloomAlpha;
45
49 @property (nonatomic, assign) CGFloat lineBloomGradientASPeed;
50
54 @property (nonatomic, assign) int lineBloomBlurTimes;
55
56 #pragma mark - 以下方法和属性只适用于分段纹理绘制/分段颜色绘制
57
59 @property (nonatomic, assign) BOOL isFocus __deprecated_msg("已废弃since 5.0.0");
60
64 @property (nonatomic, copy, nullable) NSArray<UIColor *> *colors __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiColorPolylineView中strokeColors");
65
66 @end
67 NS_ASSUME_NONNULL_END
BMKPolylineView::lineBloomAlpha
CGFloat lineBloomAlpha
发光处透明度，取值范围 [0 ~ 255]，默认 255.0f；since 6.5.7
Definition: BMKPolylineView.h:44
BMKPolylineView::lineJoinType
BMKLineJoinType lineJoinType
LineJoinType，默认是kBMKLineJoinBevel（不支持虚线）
Definition: BMKPolylineView.h:25
BMKPolylineView::polyline
BMKPolyline * polyline
该View对应的折线数据对象
Definition: BMKPolylineView.h:22
-[BMKPolylineView __deprecated_msg]
BOOL isFocus __deprecated_msg("已废弃since 5.0.0")
是否分段纹理/分段颜色绘制（突出显示），默认YES，YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
BMKPolylineView
此类用于定义一个折线View
Definition: BMKPolylineView.h:15
BMKGeometryView
该类定义了一个用opengl绘制geometry的基类
Definition: BMKGeometryView.h:14
BMKLineBloomDirection
BMKLineBloomDirection
line发光方向
Definition: BMKLineDrawType.h:61
BMKPolyline
此类用于定义一段折线
Definition: BMKPolyline.h:16
BMKPolylineView::lineBloomGradientASPeed
CGFloat lineBloomGradientASPeed
Definition: BMKPolylineView.h:49
BMKPolylineView::lineBloomDirection
BMKLineBloomDirection lineBloomDirection
默认向两侧发光，kBMKLineBloomDirectionAround； since 6.6.3
Definition: BMKPolylineView.h:38
BMKLineJoinType
BMKLineJoinType
line拐角处理方式（不支持虚线）
Definition: BMKLineDrawType.h:13
BMKPolyline.h
BMKPolylineView::isClickable
BOOL isClickable
是否可点击，默认YES；since 6.5.7
Definition: BMKPolylineView.h:31
BMKPolylineView::lineCapType
BMKLineCapType lineCapType
LineCapType，默认是kBMKLineCapButt (不支持虚线)
Definition: BMKPolylineView.h:28
BMKPolylineView::lineBloomWidth
CGFloat lineBloomWidth
发光处宽度，默认 0.0f；since 6.5.7
Definition: BMKPolylineView.h:41
BMKLineBloomMode
BMKLineBloomMode
line发光模式
Definition: BMKLineDrawType.h:52
BMKPolylineView::lineBloomMode
BMKLineBloomMode lineBloomMode
Definition: BMKPolylineView.h:35
BMKPolylineView::lineBloomBlurTimes
int lineBloomBlurTimes
Definition: BMKPolylineView.h:54
BMKLineCapType
BMKLineCapType
line头尾处理方式(不支持虚线)
Definition: BMKLineDrawType.h:23
-[BMKPolylineView __deprecated_msg]
NSArray< UIColor * > *colors __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiColorPolylineView中strokeColors")
BMKGeometryView.h