public class ParticleOverlayOptions extends BaseOptions implements android.os.Parcelable, java.lang.Cloneable
AMap.OnMapLoadedListener
之后调用构造器和说明 |
---|
ParticleOverlayOptions()
粒子效果初始化属性控制
|
public ParticleOverlayOptions icon(BitmapDescriptor icon)
icon
- 图标的BitmapDescriptor对象public BitmapDescriptor getIcon()
public int getMaxParticles()
public ParticleOverlayOptions setMaxParticles(int maxParticles)
public boolean isLoop()
public ParticleOverlayOptions setLoop(boolean loop)
public long getDuration()
public ParticleOverlayOptions setDuration(long duration)
public long getParticleLifeTime()
public ParticleOverlayOptions setParticleLifeTime(long particleLifeTime)
public ParticleEmissionModule getParticleEmissionModule()
public ParticleOverlayOptions setParticleEmissionModule(ParticleEmissionModule particleEmissionModule)
public ParticleShapeModule getParticleShapeModule()
public ParticleOverlayOptions setParticleShapeModule(ParticleShapeModule particleShapeModule)
public VelocityGenerate getParticleStartSpeed()
public ParticleOverlayOptions setParticleStartSpeed(VelocityGenerate startSpeed)
startSpeed
- 单位 像素/秒public ParticleOverlayOptions setParticleStartColor(ColorGenerate startColor)
public ColorGenerate getParticleStartColor()
public ParticleOverlayOptions setParticleOverLifeModule(ParticleOverLifeModule particleOverLifeModule)
public ParticleOverLifeModule getParticleOverLifeModule()
public ParticleOverlayOptions setStartParticleSize(int startParticleW, int startParticleH)
public int getStartParticleW()
public int getstartParticleH()
public ParticleOverlayOptions zIndex(float zIndex)
zIndex
- 要设置的Z轴的值。public float getZIndex()
public ParticleOverlayOptions setVisible(boolean visible)
visible
- 一个布尔值,表示覆盖物是否可见,true表示可见,false表示不可见。public boolean isVisibile()