Package org.locationtech.jtstest.util
Class HSBPalette
java.lang.Object
org.locationtech.jtstest.util.HSBPalette
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHSBPalette
(int numH, float hBase, float hRange, int numS, float sLo, float sHi, int numB, float bLo, float bHi) -
Method Summary
Modifier and TypeMethodDescriptioncolor
(int index, int alpha) static HSBPalette
createSpectrum
(int numHue, float s, float b) static HSBPalette
createSpectrumIncremental
(float hInc, float s, float b) static HSBPalette
createSpectrumWrap
(int numHue, float s, float b) int
-
Field Details
-
HUE_WIDTH
public static final float HUE_WIDTH- See Also:
-
-
Constructor Details
-
HSBPalette
public HSBPalette(int numH, float hBase, float hRange, int numS, float sLo, float sHi, int numB, float bLo, float bHi)
-
-
Method Details
-
createSpectrum
-
createSpectrumWrap
-
createSpectrumIncremental
-
numEntries
public int numEntries() -
color
-