public class LutSteal
extends java.lang.Object
| Constructor | Description |
|---|---|
LutSteal(javax.swing.Icon icon,
boolean horiz) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
Main method.
|
void |
writeLut(java.io.OutputStream out,
boolean verbose) |
Writes the strip of pixels down the middle of the ramp icon
as a lookup table that can be used by the Shaders class.
|
public LutSteal(javax.swing.Icon icon,
boolean horiz)
icon - icon containing color ramphoriz - true to traverse ramp horizontally, false for verticallypublic void writeLut(java.io.OutputStream out,
boolean verbose)
throws java.io.IOException
out - output streamverbose - true to write RGB values to stderrjava.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.