public final class MixedColorProducer extends java.lang.Object implements NotNullProducer<java.awt.Color>
Constructor and Description |
---|
MixedColorProducer(java.awt.Color color0,
java.awt.Color color1) |
MixedColorProducer(java.awt.Color color0,
java.awt.Color color1,
double mixer) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
produce() |
java.awt.Color |
produce(double mixer) |
void |
setMixer(double value) |
public MixedColorProducer(java.awt.Color color0, java.awt.Color color1)
public MixedColorProducer(java.awt.Color color0, java.awt.Color color1, double mixer)
public void setMixer(double value)
public java.awt.Color produce(double mixer)
public java.awt.Color produce()
produce
in interface NotNullProducer<java.awt.Color>
produce
in interface Producer<java.awt.Color>