BaiduMap_IOSSDK_v6.2.0_Docs  6.2.0
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;
15 @property (nonatomic,strong) NSArray *mStartPoints;
16 
17 //渐变色的初始化方法,使用默认colorMapSize:1000进行初始化
18 - (id)initWithColors:(NSArray <UIColor *> *)colors startPoints:(NSArray*)startPoints;
19 @end
20 
21 
22 
23 
24 
此类表示热力图渐变色
Definition: BMKGradient.h:12
NSArray * mStartPoints
每一个颜色的起始点数组,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,...
Definition: BMKGradient.h:15
NSArray< UIColor * > * mColors
渐变色用到的所有颜色数组,数组成员类型为UIColor,默认值[0x0000c8,0x00e100,0xff0000]
Definition: BMKGradient.h:13