BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKMultiColorPolylineView.h
浏览该文件的文档.
1 //
2 // BMKMultiColorPolylineView.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2021/7/28.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8
9 #import "BMKPolylineView.h"
10 #import "BMKMultiPolyline.h"
11
12 NS_ASSUME_NONNULL_BEGIN
13
15 @interface BMKMultiColorPolylineView : BMKPolylineView
16
20 - (nullable instancetype)initWithMultiPolyline:(BMKMultiPolyline *)multiPolyline;
21
23 @property (nonatomic, readonly) BMKMultiPolyline *multiPolyline;
24
28 @property (nonatomic, copy) NSArray<UIColor *> *strokeColors;
29
32 @property (nonatomic, copy, nullable) NSArray<UIColor *> *strokeColorsProgressForward;
35 @property (nonatomic, copy, nullable) NSArray<UIColor *> *strokeColorsProgressBackward;
36
37 @end
38
39 NS_ASSUME_NONNULL_END
BMKPolylineView
此类用于定义一个折线View
Definition: BMKPolylineView.h:15
BMKPolylineView.h
BMKMultiColorPolylineView::multiPolyline
BMKMultiPolyline * multiPolyline
该View对应的折线数据对象
Definition: BMKMultiColorPolylineView.h:23
BMKMultiColorPolylineView::strokeColorsProgressForward
NSArray< UIColor * > * strokeColorsProgressForward
Definition: BMKMultiColorPolylineView.h:32
BMKMultiPolyline.h
BMKMultiPolyline
此文件定义分段折线 since 6.5.0
Definition: BMKMultiPolyline.h:15
BMKMultiColorPolylineView
此文件定义分段多颜色折线View since 6.5.0
Definition: BMKMultiColorPolylineView.h:16
BMKMultiColorPolylineView::strokeColorsProgressBackward
NSArray< UIColor * > * strokeColorsProgressBackward
Definition: BMKMultiColorPolylineView.h:35
BMKMultiColorPolylineView::strokeColors
NSArray< UIColor * > * strokeColors
Definition: BMKMultiColorPolylineView.h:28