public abstract class AbstractColorWheelImageProducer
extends java.awt.image.MemoryImageSource
Modifier and Type | Field and Description |
---|---|
protected int |
angularIndex |
protected java.awt.color.ColorSpace |
colorSpace |
protected int |
h |
protected boolean |
isLookupValid |
protected boolean |
isPixelsValid |
protected int[] |
pixels |
protected int |
radialIndex |
protected int |
verticalIndex |
protected float |
verticalValue |
protected int |
w |
Constructor and Description |
---|
AbstractColorWheelImageProducer(java.awt.color.ColorSpace sys,
int w,
int h) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
generateColorWheel() |
abstract float[] |
getColorAt(int x,
int y) |
java.awt.Point |
getColorLocation(java.awt.Color c) |
abstract java.awt.Point |
getColorLocation(float[] components) |
int |
getRadius() |
boolean |
needsGeneration() |
void |
regenerateColorWheel() |
void |
setAngularComponentIndex(int newValue) |
void |
setRadialComponentIndex(int newValue) |
void |
setVerticalComponentIndex(int newValue) |
void |
setVerticalValue(float newValue) |
protected int[] pixels
protected int w
protected int h
protected java.awt.color.ColorSpace colorSpace
protected int radialIndex
protected int angularIndex
protected int verticalIndex
protected boolean isPixelsValid
protected float verticalValue
protected boolean isLookupValid
public AbstractColorWheelImageProducer(java.awt.color.ColorSpace sys, int w, int h)
public void setRadialComponentIndex(int newValue)
public void setAngularComponentIndex(int newValue)
public void setVerticalComponentIndex(int newValue)
public void setVerticalValue(float newValue)
public boolean needsGeneration()
public void regenerateColorWheel()
public int getRadius()
protected abstract void generateColorWheel()
public java.awt.Point getColorLocation(java.awt.Color c)
public abstract java.awt.Point getColorLocation(float[] components)
public abstract float[] getColorAt(int x, int y)