org.jhotdraw.color
Class HSLHarmonicColorWheelImageProducer
java.lang.Object
java.awt.image.MemoryImageSource
org.jhotdraw.color.AbstractColorWheelImageProducer
org.jhotdraw.color.PolarColorWheelImageProducer
org.jhotdraw.color.HSLHarmonicColorWheelImageProducer
- All Implemented Interfaces:
- java.awt.image.ImageProducer
public class HSLHarmonicColorWheelImageProducer
- extends PolarColorWheelImageProducer
HSLHarmonicColorWheelImageProducer.
- Version:
- $Id: HSLHarmonicColorWheelImageProducer.java 717 2010-11-21 12:30:57Z rawcoder $
- Author:
- Werner Randelshofer
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(java.awt.color.ColorSpace sys,
int w,
int h)
generateLookupTables
protected void generateLookupTables()
- Overrides:
generateLookupTables
in class PolarColorWheelImageProducer
generateContiguousLookupTables
protected void generateContiguousLookupTables()
generateDiscreteLookupTables
protected void generateDiscreteLookupTables()
generateColorWheel
public void generateColorWheel()
- Overrides:
generateColorWheel
in class PolarColorWheelImageProducer
getColorLocation
public java.awt.Point getColorLocation(java.awt.Color c)
- Overrides:
getColorLocation
in class PolarColorWheelImageProducer
getColorLocation
public java.awt.Point getColorLocation(float[] hsb)
- Overrides:
getColorLocation
in class PolarColorWheelImageProducer
getColorAt
public float[] getColorAt(int x,
int y)
- Overrides:
getColorAt
in class PolarColorWheelImageProducer