BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKGradient.h
浏览该文件的文档.
1 /*
2 * BMKGradient.h
3 * BMapKit
4 *
5 * Copyright 2013 Baidu Inc. All rights reserved.
6 *
7 */
8 #import <UIKit/UIKit.h>
9 #import <Foundation/Foundation.h>
11 @interface BMKGradient : NSObject
13 @property (nonatomic, strong) NSArray <UIColor *> *mColors;
16 @property (nonatomic, strong) NSArray<NSNumber *> *mStartPoints;
17
19 - (instancetype)initWithColors:(NSArray<UIColor *> *)colors startPoints:(NSArray<NSNumber *>*)startPoints;
20 @end
21
22
23
24
25
BMKGradient
此类表示热力图渐变色
Definition: BMKGradient.h:12
BMKGradient::mColors
NSArray< UIColor * > * mColors
渐变色用到的所有颜色数组,数组成员类型为UIColor,默认值[0x0000c8,0x00e100,0xff0000]
Definition: BMKGradient.h:13
BMKGradient::mStartPoints
NSArray< NSNumber * > * mStartPoints
Definition: BMKGradient.h:16