热力图渐变属性
More...
#import <MAHeatMapTileOverlay.h>
|
NSArray< UIColor * > * | colors |
| 颜色变化数组。 default [blue,green,red] More...
|
|
NSArray< NSNumber * > * | startPoints |
| 颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)] More...
|
|
◆ initWithColor:andWithStartPoints:()
- (instancetype) initWithColor: |
|
(NSArray< UIColor * > *) |
colors |
andWithStartPoints: |
|
(NSArray< NSNumber * > *) |
startPoints |
|
|
| |
重新设置gradient的时候,需要执行 MATileOverlayRenderer 的 reloadData 方法重刷新渲染缓存。
- Parameters
-
colors | 颜色 |
startPoints | startPoints |
- Returns
- instance
◆ colors
- (NSArray<UIColor *>*) colors |
|
readnonatomicassign |
颜色变化数组。 default [blue,green,red]
◆ startPoints
- (NSArray<NSNumber *>*) startPoints |
|
readnonatomicassign |
颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)]
The documentation for this class was generated from the following file: