ColorIterator.ISteppingModel
, java.lang.Cloneable
ColorIterator.HSBStepper
, ColorIterator.HSStepper
public abstract static class ColorIterator.APiggyBackStepper extends java.lang.Object implements ColorIterator.ISteppingModel
Modifier and Type | Field | 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 | Description |
---|---|
APiggyBackStepper() |
Creates an instance with an amount of steps of 100 for hue, saturation
and luminance.
|
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 | Description |
---|---|---|
java.lang.Object |
clone() |
Creates a clone of this stepper.
|
void |
setSteps(int steps) |
Sets the amount of steps in the color space.
|
doStep
protected ColorIterator.HueStepper m_huestep
protected ColorIterator.LuminanceStepper m_lumstep
protected ColorIterator.SaturationStepper m_satstep
public APiggyBackStepper()
public 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 java.lang.Object clone()
ColorIterator.ISteppingModel
clone
in interface ColorIterator.ISteppingModel
clone
in class java.lang.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.