11NS_ASSUME_NONNULL_BEGIN
 
   21+ (nullable instancetype)gradientLineWithPoints:(
BMKMapPoint *)points
 
   22                                          count:(NSUInteger)count
 
   23                                     drawIndexs:(NSArray<NSNumber *> *)drawIndexs NS_SWIFT_NAME(gradient(potins:count:
drawIndexs:));
 
   31+ (nullable instancetype)gradientLineWithCoordinates:(CLLocationCoordinate2D *)coords
 
   32                                               count:(NSUInteger)count
 
   33                                          drawIndexs:(NSArray<NSNumber *> *)drawIndexs NS_SWIFT_NAME(gradient(coordinates:count:
drawIndexs:));
 
   40- (BOOL)setGradientLineWithPoints:(
BMKMapPoint *)points
 
   41                            count:(NSUInteger)count
 
   42                       drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
 
   49- (BOOL)setGradientLineWithCoordinates:(CLLocationCoordinate2D *)coords
 
   50                                 count:(NSUInteger)count
 
   51                            drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
 
此类用于定义一个颜色渐变线 since 6.4.0
Definition BMKGradientLine.h:14
此文件定义分段折线 since 6.5.0
Definition BMKMultiPolyline.h:15
NSArray< NSNumber * > * drawIndexs
颜色/纹理索引数组
Definition BMKMultiPolyline.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:222