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.
-
-
Constructor Summary
Constructors Constructor and Description HSLHarmonicColorWheelImageProducer(java.awt.color.ColorSpace sys, int w, int h)HSLHarmonicColorWheelImageProducer(int w, int h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidgenerateColorWheel()float[]getColorAt(int x, int y)java.awt.PointgetColorLocation(java.awt.Color c)java.awt.PointgetColorLocation(float[] hsb)-
Methods inherited from class org.jhotdraw.color.AbstractColorWheelImageProducer
getRadius, needsGeneration, regenerateColorWheel, setAngularComponentIndex, setRadialComponentIndex, setVerticalComponentIndex, setVerticalValue
-
-
-
-
Constructor Detail
-
HSLHarmonicColorWheelImageProducer
public HSLHarmonicColorWheelImageProducer(int w, int h)
-
HSLHarmonicColorWheelImageProducer
public HSLHarmonicColorWheelImageProducer(java.awt.color.ColorSpace sys, int w, int h)
-
-
Method Detail
-
generateColorWheel
public void generateColorWheel()
- Overrides:
generateColorWheelin classPolarColorWheelImageProducer
-
getColorLocation
public java.awt.Point getColorLocation(java.awt.Color c)
- Overrides:
getColorLocationin classPolarColorWheelImageProducer
-
getColorLocation
public java.awt.Point getColorLocation(float[] hsb)
- Overrides:
getColorLocationin classPolarColorWheelImageProducer
-
getColorAt
public float[] getColorAt(int x, int y)- Overrides:
getColorAtin classPolarColorWheelImageProducer
-
-
DataMelt 3.0 © DataMelt by jWork.ORG