public abstract static class ColorIterator.APiggyBackStepper extends Object implements ColorIterator.ISteppingModel
Modifier and Type | Field and Description |
---|---|
protected ColorIterator.HueStepper |
m_huestep
The hue stepper to use.
|
protected ColorIterator.LuminanceStepper |
m_lumstep
The luminance stepper to use.
|
protected ColorIterator.SaturationStepper |
m_satstep
The saturation stepper to use.
|
Constructor and Description |
---|
ColorIterator.APiggyBackStepper()
Creates an instance with an amount of steps of 100 for hue, saturation
and luminance.
|
ColorIterator.APiggyBackStepper(int hueSteps,
int satSteps,
int lumSteps)
Creates an instance that uses the given amount of steps for hue,
luminance and saturation.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a clone of this stepper.
|
void |
setSteps(int steps)
Sets the amount of steps in the color space.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doStep
protected ColorIterator.HueStepper m_huestep
protected ColorIterator.LuminanceStepper m_lumstep
protected ColorIterator.SaturationStepper m_satstep
public ColorIterator.APiggyBackStepper()
public ColorIterator.APiggyBackStepper(int hueSteps, int satSteps, int lumSteps)
hueSteps
- the amount of steps on the hue line of the HSB color space.satSteps
- the amount of steps on the saturation line of the HSB color
space.lumSteps
- the amount of steps on the luminance line of the HSB color
space.public Object clone()
ColorIterator.ISteppingModel
clone
in interface ColorIterator.ISteppingModel
clone
in class Object
Object.clone()
public void setSteps(int steps)
ColorIterator.ISteppingModel
setSteps
in interface ColorIterator.ISteppingModel
steps
- the amount of steps in the color space.ColorIterator.ISteppingModel.setSteps(int)
Copyright © 2001 - 2010 LGPL, All Rights Footloose.