Class FlashColorInterpolator

java.lang.Object
org.omegat.gui.properties.FlashColorInterpolator

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

    • FlashColorInterpolator

      public FlashColorInterpolator()
    • FlashColorInterpolator

      public FlashColorInterpolator(double duration, Color colorMin, Color colorMax)
  • Method Details

    • mark

      public void mark()
    • isFlashing

      public boolean isFlashing()
    • getColor

      public Color getColor()