public class IndexedColorMaps extends Object
IndexedColorMap1D instances| Modifier and Type | Method and Description |
|---|---|
static IndexedColorMap1D |
clamping(IndexedColorMap1D delegate)
Returns an
IndexedColorMap1D that provides a clamping access
to the given delegate. |
static IndexedColorMap1D |
create(Collection<? extends Color> colors)
Creates an
IndexedColorMap1D of the given colors. |
static IndexedColorMap1D |
create(Color... colors)
Creates an
IndexedColorMap1D of the given colors. |
static IndexedColorMap1D |
wrapping(IndexedColorMap1D delegate)
Returns an
IndexedColorMap1D that provides a wrapping access
to the given delegate. |
public static IndexedColorMap1D create(Color... colors)
IndexedColorMap1D of the given colors. A copy of
the given array will be stored internally.colors - The colorsIndexedColorMap1Dpublic static IndexedColorMap1D create(Collection<? extends Color> colors)
IndexedColorMap1D of the given colors. A copy of
the given collection will be stored internally.colors - The colorsIndexedColorMap1Dpublic static IndexedColorMap1D wrapping(IndexedColorMap1D delegate)
IndexedColorMap1D that provides a wrapping access
to the given delegate. This means that negative indices or indices
that are not smaller than the size of the given delegate will be
wrapped to be in the valid range.delegate - The delegateIndexedColorMap1Dpublic static IndexedColorMap1D clamping(IndexedColorMap1D delegate)
IndexedColorMap1D that provides a clamping access
to the given delegate. This means that negative indices or indices
that are not smaller than the size of the given delegate will be
clamped to be in the valid range.delegate - The delegateIndexedColorMap1DCopyright © 2018. All rights reserved.