## 类的使用
com.amap.api.maps.model.particle.ParticleOverlayOptions

- 使用ParticleOverlayOptions的程序包
  程序包 | 说明
  --- | ---
  com.amap.api.maps |
  com.amap.api.maps.model.particle |

- - ### com.amap.api.maps中ParticleOverlayOptions的使用

    参数类型为ParticleOverlayOptions的com.amap.api.maps中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ParticleOverlay` | AMap.`addParticleOverlay(ParticleOverlayOptions options)` 在地图上添加一个粒子系统对象 Add a particle system object on the map.

  - ### com.amap.api.maps.model.particle中ParticleOverlayOptions的使用

    返回ParticleOverlayOptions的com.amap.api.maps.model.particle中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ParticleOverlayOptions` | ParticleOverlayOptions.`icon(BitmapDescriptor icon)` 设置覆盖物的图标。
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setDuration(long duration)` 整个粒子效果的存活时间,单位毫秒 Survival time of the entire particle effect, in milliseconds
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setLoop(boolean loop)` 整个粒子效果是否循环 Whether the entire particle effect loops
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setMaxParticles(int maxParticles)` 整个粒子效果的粒子最大数量 Maximum number of particles in the entire particle effect
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleEmissionModule(ParticleEmissionModule particleEmissionModule)` 发射率，每个多少时间发射粒子数量，越多会越密集 Emission rate, the number of particles emitted at each interval, the more the denser
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleLifeTime(long particleLifeTime)` 每个粒子的存活时间,单位毫秒 Survival time of each particle, in milliseconds
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleOverLifeModule(ParticleOverLifeModule particleOverLifeModule)` 每个粒子生命周期过程中状态变化，包含速度、旋转和颜色的变化 State changes during the life cycle of each particle, including changes in speed, rotation, and color
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleShapeModule(ParticleShapeModule particleShapeModule)` 发射模型，比如所有粒子从一个点出来，或者从某个区域出来 Emission model, such as all particles coming out from a point or from a certain area
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleStartColor(ColorGenerate startColor)` 每个粒子的初始颜色 Initial color of each particle
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setParticleStartSpeed(VelocityGenerate startSpeed)` 粒子初始速度，每秒多少个像素 Initial velocity of particles, in pixels per second
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setStartParticleSize(int startParticleW, int startParticleH)` 粒子显示大小-宽高 Particle display size - width and height
    `ParticleOverlayOptions` | ParticleOverlayOptions.`setVisible(boolean visible)` 设置 覆盖物的可见属性。
    `ParticleOverlayOptions` | ParticleOverlayOptions.`zIndex(float zIndex)` 获取覆盖物Z轴的值。

    返回变量类型为ParticleOverlayOptions的类型的com.amap.api.maps.model.particle中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static java.util.List<ParticleOverlayOptions>` | ParticleOverlayOptionsFactory.`defaultOptions(int type)` 默认粒子效果 Default Particle Effect