iOS高德地图SDK(3D)  V11.2.0001
MAParticleRandomColorGenerate Class Reference

#import <MAParticleOverlayOptions.h>

Inheritance diagram for MAParticleRandomColorGenerate:
<MAParticleColorGenerate>

Instance Methods

(instancetype) - initWithBoundaryColorR1:G1:B1:A1:R2:G2:B2:A2:
 根据颜色范围值生成粒子的颜色变化类 Particle color variation class based on color range values More...
 
- Instance Methods inherited from <MAParticleColorGenerate>
(float *) - getColor
 

Detailed Description

粒子的随机颜色生成类. since 6.5.0 Random color generation class for particles. since 6.5.0

Method Documentation

◆ initWithBoundaryColorR1:G1:B1:A1:R2:G2:B2:A2:

- (instancetype) initWithBoundaryColorR1: (float)  r1
G1: (float)  g1
B1: (float)  b1
A1: (float)  a1
R2: (float)  r2
G2: (float)  g2
B2: (float)  b2
A2: (float)  a2 

根据颜色范围值生成粒子的颜色变化类 Particle color variation class based on color range values

Parameters
r1起始的颜色r值 Starting color r value
g1起始的颜色g值 Starting color g value
b1起始的颜色b值 Starting color b value
a1起始的颜色a值 Starting color a value
r2结束的颜色r值 Ending color r value
g2结束的颜色g值 Ending color g value
b2结束的颜色b值 Ending color b value
a2结束的颜色a值 Ending color a value
Returns
生成粒子的颜色变化类 Particle color variation class

The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。