BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
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
12NS_ASSUME_NONNULL_BEGIN
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) CGFloat lineBloomWidth;
39
41@property (nonatomic, assign) CGFloat lineBloomAlpha;
42
46@property (nonatomic, assign) CGFloat lineBloomGradientASPeed;
47
51@property (nonatomic, assign) int lineBloomBlurTimes;
52
53#pragma mark - 以下方法和属性只适用于分段纹理绘制/分段颜色绘制
54
56@property (nonatomic, assign) BOOL isFocus __deprecated_msg("已废弃since 5.0.0");
57
61@property (nonatomic, copy, nullable) NSArray<UIColor *> *colors __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiColorPolylineView中strokeColors");
62
63@end
64NS_ASSUME_NONNULL_END
BMKLineJoinType
line拐角处理方式(不支持虚线)
Definition BMKLineDrawType.h:13
BMKLineCapType
line头尾处理方式(不支持虚线)
Definition BMKLineDrawType.h:23
BMKLineBloomMode
line发光模式
Definition BMKLineDrawType.h:52
该类定义了一个用opengl绘制geometry的基类
Definition BMKGeometryView.h:14
此类用于定义一段折线
Definition BMKPolyline.h:15
此类用于定义一个折线View
Definition BMKPolylineView.h:15
CGFloat lineBloomAlpha
发光处透明度,取值范围 [0 ~ 255],默认 255.0f;since 6.5.7
Definition BMKPolylineView.h:41
CGFloat lineBloomWidth
发光处宽度,默认 0.0f;since 6.5.7
Definition BMKPolylineView.h:38
BMKLineJoinType lineJoinType
LineJoinType,默认是kBMKLineJoinBevel(不支持虚线)
Definition BMKPolylineView.h:25
BMKPolyline * polyline
该View对应的折线数据对象
Definition BMKPolylineView.h:22
BMKLineCapType lineCapType
LineCapType,默认是kBMKLineCapButt (不支持虚线)
Definition BMKPolylineView.h:28
int lineBloomBlurTimes
Definition BMKPolylineView.h:51
NSArray< UIColor * > *colors __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiColorPolylineView中strokeColors")
BMKLineBloomMode lineBloomMode
Definition BMKPolylineView.h:35
BOOL isFocus __deprecated_msg("已废弃since 5.0.0")
是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
BOOL isClickable
是否可点击,默认YES;since 6.5.7
Definition BMKPolylineView.h:31
CGFloat lineBloomGradientASPeed
Definition BMKPolylineView.h:46