org.jhotdraw.color
Class HSLHarmonicColorWheelImageProducer
java.lang.Object
java.awt.image.MemoryImageSource
org.jhotdraw.color.ColorWheelImageProducer
org.jhotdraw.color.HSLHarmonicColorWheelImageProducer
- All Implemented Interfaces:
- java.awt.image.ImageProducer
public class HSLHarmonicColorWheelImageProducer
- extends ColorWheelImageProducer
HSLHarmonicColorWheelImageProducer.
- Author:
- Werner Randelshofer
@version $Id: HSLHarmonicColorWheelImageProducer.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 |
HSLHarmonicColorWheelImageProducer
public HSLHarmonicColorWheelImageProducer(int w,
int h)
HSLHarmonicColorWheelImageProducer
public HSLHarmonicColorWheelImageProducer(ColorSystem sys,
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