|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorInterpolator
Method Summary | |
---|---|
Color |
interpolate(Color a,
Color b,
float mixing)
Interpolates to a color between a and b |
Method Detail |
---|
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 1
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |