Lines Matching refs:fromValue
32 private final Color fromValue;
42 * @param fromValue the value that corresponds to a timing of 0.
46 public LinearColor(Color fromValue, Color toValue, Timing timing)
48 this.fromValue = fromValue;
63 t == 0.0 ? fromValue :
65 new Color((int)(fromValue.getRed() + t * (toValue.getRed() - fromValue.getRed())),
66 (int)(fromValue.getGreen() + t * (toValue.getGreen() - fromValue.getGreen())),
67 (int)(fromValue.getBlue() + t * (toValue.getBlue() - fromValue.getBlue())));