BaiduMap_IOSSDK_v6.2.0_Docs  6.2.0
构造函数 | 属性 | 所有成员列表
BMKGradient类 参考

此类表示热力图渐变色 更多...

#import <BMKGradient.h>

类 BMKGradient 继承关系图:

构造函数

(id) - initWithColors:startPoints:
 
(id) - initWithColors:startPoints:
 

属性

NSArray< UIColor * > * mColors
 渐变色用到的所有颜色数组,数组成员类型为UIColor,默认值[0x0000c8,0x00e100,0xff0000] 更多...
 
NSArray * mStartPoints
 每一个颜色的起始点数组,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的,默认值["0.08f", @"0.4f", @"1f"]或[@0.08, @0.4, @1.0] 更多...
 

详细描述

此类表示热力图渐变色

函数文档

◆ initWithColors:startPoints: [1/2]

- (id) initWithColors: (NSArray< UIColor * > *)  colors
startPoints: (NSArray *)  startPoints 

◆ initWithColors:startPoints: [2/2]

- (id) initWithColors: (NSArray< UIColor * > *)  colors
startPoints: (NSArray *)  startPoints 

属性说明

◆ mColors

- (NSArray< UIColor * > *) mColors
readwritenonatomicstrong

渐变色用到的所有颜色数组,数组成员类型为UIColor,默认值[0x0000c8,0x00e100,0xff0000]

◆ mStartPoints

- (NSArray *) mStartPoints
readwritenonatomicstrong

每一个颜色的起始点数组,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的,默认值["0.08f", @"0.4f", @"1f"]或[@0.08, @0.4, @1.0]


该类的文档由以下文件生成: