Class FlashColorInterpolator


  • public class FlashColorInterpolator
    extends java.lang.Object
    A class that interpolates between a given min and max color, according to the formula -4x^2 + 4x.
    • Constructor Detail

      • FlashColorInterpolator

        public FlashColorInterpolator()
      • FlashColorInterpolator

        public FlashColorInterpolator​(double duration,
                                      java.awt.Color colorMin,
                                      java.awt.Color colorMax)
    • Method Detail

      • mark

        public void mark()
      • isFlashing

        public boolean isFlashing()
      • getColor

        public java.awt.Color getColor()