java.lang.Object
imagingbook.common.color.iterate.FiniteLinearColorSequencer
imagingbook.common.color.iterate.FiniteRandomColorSequencer
- All Implemented Interfaces:
ColorSequencer
,Iterator<Color>
- Direct Known Subclasses:
CssColorSequencer
-
Field Summary
Fields inherited from class imagingbook.common.color.iterate.FiniteLinearColorSequencer
colorArray, next
-
Constructor Summary
ConstructorsConstructorDescriptionFiniteRandomColorSequencer
(Color... colors) FiniteRandomColorSequencer
(Class<? extends ColorEnumeration> clazz) -
Method Summary
Methods inherited from class imagingbook.common.color.iterate.FiniteLinearColorSequencer
getColor, getColors, reset, reset, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface imagingbook.common.color.iterate.ColorSequencer
hasNext
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
FiniteRandomColorSequencer
-
FiniteRandomColorSequencer
-
-
Method Details
-
setRandomSeed
- Parameters:
seed
- the new seed value- See Also:
-
next
- Specified by:
next
in interfaceIterator<Color>
- Overrides:
next
in classFiniteLinearColorSequencer
-