public class Pulsator extends Object
Constructor and Description |
---|
Pulsator(TrackPainter painter) |
Pulsator(TrackPainter painter,
long delayMillis,
float minSize,
float stepSize,
float maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
addId(int id) |
float |
getDefaultSize() |
long |
getDelayMillis() |
float |
getMax() |
float |
getMin() |
float |
getSize() |
float |
getStep() |
void |
removeAllIds() |
void |
removeId(int id) |
void |
resetSize() |
void |
setDefaultSize(float size)
When an id is removed from the Pulsator, its point size is reset to the default size.
|
void |
setDelayMillis(long delayMillis) |
void |
setMax(float max) |
void |
setMin(float min) |
void |
setPaused(boolean paused) |
void |
setSize(float size) |
void |
setStep(float step) |
void |
start() |
void |
stop() |
public Pulsator(TrackPainter painter, long delayMillis, float minSize, float stepSize, float maxSize)
public Pulsator(TrackPainter painter)
public void setDefaultSize(float size)
size
- public float getDefaultSize()
public void resetSize()
public void setPaused(boolean paused)
public long getDelayMillis()
public void setDelayMillis(long delayMillis)
public float getMin()
public void setMin(float min)
public float getMax()
public void setMax(float max)
public float getStep()
public void setStep(float step)
public float getSize()
public void setSize(float size)
public void removeAllIds()
public void addId(int id)
public void removeId(int id)
public void stop()
public void start()
Copyright © 2013 Metron, Inc.. All rights reserved.