|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.utility.image.ColorfMixer
public class ColorfMixer
Mixes colors.
| Constructor Summary | |
|---|---|
ColorfMixer()
|
|
| Method Summary | |
|---|---|
static org.openmali.vecmath2.Colorf |
mix(org.openmali.vecmath2.Colorf c1,
org.openmali.vecmath2.Colorf c2,
float ratio)
Mixes two colors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorfMixer()
| Method Detail |
|---|
public static org.openmali.vecmath2.Colorf mix(org.openmali.vecmath2.Colorf c1,
org.openmali.vecmath2.Colorf c2,
float ratio)
c1 - First colorc2 - Second colorratio - If 0, only the first color, if 1 only the second color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||