public interface ColorInterpolator
Modifier and Type | Method and Description |
---|---|
Color |
interpolate(Color a,
Color b,
float mixing)
Interpolates to a color between a and b
|
Color interpolate(Color a, Color b, float mixing)
a
- First colorb
- Second colormixing
- Mixing coefficient; the fraction of a in the result.IllegalArgumentException
- if mixing is not between 0 and 1Copyright © 2000–2016 BioJava. All rights reserved.