Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.j3d.util.graphics
Class AverageColor

    java.lang.Object
      net.sf.j3d.util.graphics.AverageColor

All Implemented Interfaces:
  ColorProducer, Producer

    public class AverageColor

extends Object
implements ColorProducer

Constructor Summary
`AverageColor()`

Method Summary
`void` | `addColor(double p, RGB c)`
`RGB` | `evaluate(Object[] args)` Produces a color using the specified arguments.
`void` | `setInvert(boolean invert)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AverageColor

    public AverageColor()

Method Detail

### addColor

    public void addColor(double p,
                         RGB c)

### setInvert

    public void setInvert(boolean invert)

### evaluate

    public RGB evaluate(Object[] args)

  Description copied from interface: `ColorProducer`
  Produces a color using the specified arguments.

  Specified by:
    `evaluate` in interface `ColorProducer`
  Parameters:
    `args` - Arguments.
  Returns:
    The RGB color produced.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD