org.jhotdraw.color
Class HSVHarmonicColorWheelImageProducer
java.lang.Object
java.awt.image.MemoryImageSource
org.jhotdraw.color.ColorWheelImageProducer
org.jhotdraw.color.HSVHarmonicColorWheelImageProducer
- All Implemented Interfaces:
- java.awt.image.ImageProducer
public class HSVHarmonicColorWheelImageProducer
- extends ColorWheelImageProducer
HarmonicColorWheelImageProducer.
- Author:
- Werner Randelshofer
@version $Id: HSVHarmonicColorWheelImageProducer.java 527 2009-06-07 14:28:19Z rawcoder $
| Fields inherited from class org.jhotdraw.color.ColorWheelImageProducer |
alphas, angularIndex, angulars, colorSystem, h, isLookupValid, isPixelsValid, pixels, radialIndex, radials, verticalIndex, verticalValue, w |
| Methods inherited from class java.awt.image.MemoryImageSource |
addConsumer, isConsumer, newPixels, newPixels, newPixels, newPixels, newPixels, removeConsumer, requestTopDownLeftRightResend, setAnimated, setFullBufferUpdates, startProduction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HSVHarmonicColorWheelImageProducer
public HSVHarmonicColorWheelImageProducer(int w,
int h)
generateLookupTables
protected void generateLookupTables()
- Overrides:
generateLookupTables in class ColorWheelImageProducer
generateContiguousLookupTables
protected void generateContiguousLookupTables()
generateDiscreteLookupTables
protected void generateDiscreteLookupTables()
generateColorWheel
public void generateColorWheel()
- Overrides:
generateColorWheel in class ColorWheelImageProducer
getColorLocation
protected java.awt.Point getColorLocation(java.awt.Color c,
int width,
int height)
- Overrides:
getColorLocation in class ColorWheelImageProducer
getColorLocation
protected java.awt.Point getColorLocation(float hue,
float saturation,
float brightness,
int width,
int height)
- Overrides:
getColorLocation in class ColorWheelImageProducer
getColorAt
protected float[] getColorAt(int x,
int y,
int width,
int height)
- Overrides:
getColorAt in class ColorWheelImageProducer