Class OverlayPixelsImageEffect

All Implemented Interfaces:
ITimeToLive, java.lang.Comparable<ImageEffect>

public class OverlayPixelsImageEffect
extends ImageEffect
  • Constructor Details

    • OverlayPixelsImageEffect

      public OverlayPixelsImageEffect​(int ttl, java.awt.Color color)
      Initializes a new instance of the OverlayPixelsImageEffect.
      ttl - The time to live of this effect.
      color - The color of this effect.
  • Method Details

    • apply

      public java.awt.image.BufferedImage apply​(java.awt.image.BufferedImage image)
      Specified by:
      apply in class ImageEffect
    • getColor

      public java.awt.Color getColor()