org.jhotdraw.color
Class HSVHarmonicColorWheelImageProducer
- java.lang.Object
-
- java.awt.image.MemoryImageSource
-
- org.jhotdraw.color.AbstractColorWheelImageProducer
-
- org.jhotdraw.color.PolarColorWheelImageProducer
-
- org.jhotdraw.color.HSVHarmonicColorWheelImageProducer
-
- All Implemented Interfaces:
- java.awt.image.ImageProducer
public class HSVHarmonicColorWheelImageProducer extends PolarColorWheelImageProducer
HarmonicColorWheelImageProducer.
-
-
Constructor Summary
Constructors Constructor and Description HSVHarmonicColorWheelImageProducer(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
-
HSVHarmonicColorWheelImageProducer
public HSVHarmonicColorWheelImageProducer(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