BaiduMap_IOSSDK_v6.5.5doc_Docs  6.5.5
BMKGradientLine.h
浏览该文件的文档.
1 //
2 // BMKGradientLine.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2021/6/15.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8 
9 #import "BMKMultiPolyline.h"
10 
11 NS_ASSUME_NONNULL_BEGIN
14 
21 + (nullable instancetype)gradientLineWithPoints:(BMKMapPoint *)points
22  count:(NSUInteger)count
23  drawIndexs:(NSArray<NSNumber *> *)drawIndexs NS_SWIFT_NAME(gradient(potins:count:drawIndexs:));
24 
31 + (nullable instancetype)gradientLineWithCoordinates:(CLLocationCoordinate2D *)coords
32  count:(NSUInteger)count
33  drawIndexs:(NSArray<NSNumber *> *)drawIndexs NS_SWIFT_NAME(gradient(coordinates:count:drawIndexs:));
34 
40 - (BOOL)setGradientLineWithPoints:(BMKMapPoint *)points
41  count:(NSUInteger)count
42  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
43 
49 - (BOOL)setGradientLineWithCoordinates:(CLLocationCoordinate2D *)coords
50  count:(NSUInteger)count
51  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
52 
53 @end
54 
55 NS_ASSUME_NONNULL_END
BMKMapPoint
地理坐标点,用直角地理坐标表示
Definition: BMKTypes.h:187
BMKMultiPolyline::drawIndexs
NSArray< NSNumber * > * drawIndexs
颜色/纹理索引数组
Definition: BMKMultiPolyline.h:17
BMKMultiPolyline.h
BMKMultiPolyline
此文件定义分段折线 since 6.5.0
Definition: BMKMultiPolyline.h:15
BMKGradientLine
此类用于定义一个颜色渐变线 since 6.4.0
Definition: BMKGradientLine.h:14