TencentMapSDK_iOS_3D_v6.4.0
载入中...
搜索中...
未找到
QHeatGradient类 参考

热力图渐变属性 更多...

#include <QHeatOverlay.h>

类 QHeatGradient 继承关系图:

实例方法

(instancetype) - initWithColor:andWithStartPoints:
 热力图样式的颜色梯度
 

属性

NSArray< UIColor * > * colors
 颜色变化数组
 
NSArray< NSNumber * > * startPoints
 颜色变化节点,需为严格递增数组,区间为[0, 1.0]
 

详细描述

热力图渐变属性

成员函数文档

◆ initWithColor:andWithStartPoints:

- (instancetype) initWithColor: (NSArray< UIColor * > *) colors
andWithStartPoints: (NSArray< NSNumber * > *) startPoints 

热力图样式的颜色梯度

参数
colors颜色列表
startPoints颜色变化节点列表,需为严格递增数组(无相同值),区间为[0, 1.0]
返回
QHeatGradient

@notes colors和startPoints的个数必须相同


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