public class OverlayPixelsImageEffect extends ImageEffect
Constructor and Description |
---|
OverlayPixelsImageEffect(int ttl,
java.awt.Color color)
Initializes a new instance of the
OverlayPixelsImageEffect . |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
apply(java.awt.image.BufferedImage image) |
java.awt.Color |
getColor() |
compareTo, getAliveTime, getName, getPriority, getTimeToLive, setName, setPriority, timeToLiveReached
public OverlayPixelsImageEffect(int ttl, java.awt.Color color)
OverlayPixelsImageEffect
.ttl
- The time to live of this effect.color
- The color of this effect.public java.awt.image.BufferedImage apply(java.awt.image.BufferedImage image)
apply
in class ImageEffect
public java.awt.Color getColor()