public interface IndexedColorMap1D
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(int index)
Returns the color at the given index.
|
int |
getSize()
Returns the size (number of colors) of this color map
|
int getSize()
Color getColor(int index)
IndexedColorMaps.clamping(IndexedColorMap1D) and
IndexedColorMaps.wrapping(IndexedColorMap1D) methods may
be used to create instances that will never throw an
IndexOutOfBoundsException.index - The indexIndexOutOfBoundsException - May be thrown if the index is
negative or not smaller than the sizeCopyright © 2018. All rights reserved.