jvx.number
Class PuColorMapBoolean
- java.lang.Object
-
- jvx.number.PuColorMapBoolean
-
- All Implemented Interfaces:
- PuColorMapIf
public class PuColorMapBoolean extends java.lang.Object implements PuColorMapIf
Color map with the two color intervals: white, ifvalue < .5, and red, ifvalue >= .5.- Author:
- Matthias Nieser
- Version:
- 05.03.2015, 2.00 revised (kp) Class renamed to PuColorMapBoolean from PuBooleanColorTable.
27.09.2006, 1.00 created (mn)
-
-
Constructor Summary
Constructors Constructor and Description PuColorMapBoolean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.ColorgetColor(double value)Get the color for a value in [0, 1].
-
-
-
Method Detail
-
getColor
public java.awt.Color getColor(double value)
Description copied from interface:PuColorMapIfGet the color for a value in [0, 1].- Specified by:
getColorin interfacePuColorMapIf
-
-
"