Package org.omegat.gui.properties
Class FlashColorInterpolator
- java.lang.Object
-
- org.omegat.gui.properties.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 Summary
Constructors Constructor Description FlashColorInterpolator()
FlashColorInterpolator(double duration, java.awt.Color colorMin, java.awt.Color colorMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getColor()
boolean
isFlashing()
void
mark()
-