ColorIterator.ISteppingModel
, java.lang.Cloneable
ColorIterator.AlphaStepper
, ColorIterator.HueStepper
, ColorIterator.LuminanceStepper
, ColorIterator.SaturationStepper
public abstract static class ColorIterator.ADefaultStepping extends java.lang.Object implements ColorIterator.ISteppingModel
Modifier and Type | Field | Description |
---|---|---|
protected double |
m_stepping |
The internal step width.
|
Constructor | Description |
---|---|
ADefaultStepping() |
Creates a stepper with 100 steps in the color space.
|
ADefaultStepping(int steps) |
Creates a stepper with the given step length.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Too lazy to implement for each subclass.
|
void |
setSteps(int steps) |
Sets the amount of steps in the color space.
|
doStep
public ADefaultStepping()
public ADefaultStepping(int steps)
steps
- the amount of steps to do in the color space.public java.lang.Object clone()
clone
in interface ColorIterator.ISteppingModel
clone
in class java.lang.Object
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.