artofillusion.procedural
Class HSVModule
java.lang.Object
artofillusion.procedural.Module
artofillusion.procedural.HSVModule
public class HSVModule
- extends Module
This is a Module which takes three numbers, and uses them as the hue, saturation, and
value components of a color.
Constructor Summary |
HSVModule(java.awt.Point position)
|
Method Summary |
void |
getColor(int which,
RGBColor c,
double blur)
Calculate the color. |
void |
init(PointInfo p)
New point, so the color will need to be recalculated. |
Methods inherited from class artofillusion.procedural.Module |
calcSize, checkFeedback, draw, duplicate, edit, edit, getAverageValue, getBounds, getClickedPort, getInputIndex, getInputPorts, getName, getOutputIndex, getOutputPorts, getValueError, getValueGradient, inputConnected, layout, readFromStream, setInput, setPosition, writeToStream |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HSVModule
public HSVModule(java.awt.Point position)
init
public void init(PointInfo p)
- New point, so the color will need to be recalculated.
- Overrides:
init
in class Module
getColor
public void getColor(int which,
RGBColor c,
double blur)
- Calculate the color.
- Overrides:
getColor
in class Module
Copyright © 1999-2011 by Peter Eastman.