public interface ColorPallet
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
main(java.lang.String[] args)
If there is no min value, then the range is [-max, max]
|
static ColorPallet |
oobayashi(double max)
write the color pallet
|
static ColorPallet |
oobayashi(double min,
double max)
write the color pallet
|
java.lang.String |
toRGB(double value) |
void |
write(java.nio.file.Path outPath,
java.nio.file.OpenOption... options) |
static void main(java.lang.String[] args) throws java.io.IOException
args
- [write file name](Option min value of range) [max value of
range]java.io.IOException
- if an I/O error occursstatic ColorPallet oobayashi(double min, double max)
min
- min value of rangemax
- max value of rangestatic ColorPallet oobayashi(double max)
max
- max value of rangevoid write(java.nio.file.Path outPath, java.nio.file.OpenOption... options) throws java.io.IOException
outPath
- Path
of an write file. This is supposed to be used
GMT color pallet.options
- for writejava.io.IOException
- if an I/O error occursjava.lang.String toRGB(double value)
value
- target value for the RGB