BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKGradientLineView.h
浏览该文件的文档.
1 //
2 // BMKGradientLineView.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2021/6/15.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8
9 #import "BMKGeometryView.h"
10 #import "BMKGradientLine.h"
11
12 NS_ASSUME_NONNULL_BEGIN
14 @interface BMKGradientLineView : BMKGeometryView
15
19 - (nullable instancetype)initWithGradientLine:(BMKGradientLine *)gradientLine;
20
22 @property (nonatomic, readonly) BMKGradientLine *gradientLine;
23
25 @property (nonatomic, copy) NSArray<UIColor *> *strokeColors;
26
28 @property (assign, nonatomic) BOOL isClickable;
29
32 @property (nonatomic, assign) BMKLineBloomMode lineBloomMode;
33
35 @property (nonatomic, assign) CGFloat lineBloomWidth;
36
38 @property (nonatomic, assign) CGFloat lineBloomAlpha;
39
43 @property (nonatomic, assign) CGFloat lineBloomGradientASPeed;
44
48 @property (nonatomic, assign) int lineBloomBlurTimes;
49
51 @property (nonatomic, assign) BMKLineBloomDirection lineBloomDirection;
52
53 @end
54
55 NS_ASSUME_NONNULL_END
BMKGradientLineView::lineBloomGradientASPeed
CGFloat lineBloomGradientASPeed
Definition: BMKGradientLineView.h:43
BMKGradientLineView::lineBloomDirection
BMKLineBloomDirection lineBloomDirection
默认向两侧发光，kBMKLineBloomDirectionAround； since 6.6.3
Definition: BMKGradientLineView.h:51
BMKGeometryView
该类定义了一个用opengl绘制geometry的基类
Definition: BMKGeometryView.h:14
BMKLineBloomDirection
BMKLineBloomDirection
line发光方向
Definition: BMKLineDrawType.h:61
BMKGradientLineView::lineBloomBlurTimes
int lineBloomBlurTimes
Definition: BMKGradientLineView.h:48
BMKGradientLineView::gradientLine
BMKGradientLine * gradientLine
该View对应的颜色渐变线数据对象
Definition: BMKGradientLineView.h:22
BMKGradientLineView::isClickable
BOOL isClickable
是否可点击，默认YES
Definition: BMKGradientLineView.h:28
BMKGradientLineView::lineBloomAlpha
CGFloat lineBloomAlpha
发光处透明度，取值范围 [0 ~ 255]，默认 255.0f；since 6.5.7
Definition: BMKGradientLineView.h:38
BMKGradientLineView
此类用于定义一个颜色渐变线View since 6.4.0
Definition: BMKGradientLineView.h:15
BMKGradientLine.h
BMKGradientLineView::lineBloomWidth
CGFloat lineBloomWidth
发光处宽度，默认 0.0f；since 6.5.7
Definition: BMKGradientLineView.h:35
BMKLineBloomMode
BMKLineBloomMode
line发光模式
Definition: BMKLineDrawType.h:52
BMKGradientLineView::strokeColors
NSArray< UIColor * > * strokeColors
渐变颜色数组
Definition: BMKGradientLineView.h:25
BMKGradientLine
此类用于定义一个颜色渐变线 since 6.4.0
Definition: BMKGradientLine.h:14
BMKGeometryView.h
BMKGradientLineView::lineBloomMode
BMKLineBloomMode lineBloomMode
Definition: BMKGradientLineView.h:32