public class LutSteal extends Object
Constructor and Description |
---|
LutSteal(Icon icon,
boolean horiz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method.
|
void |
writeLut(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(Icon icon, boolean horiz)
icon
- icon containing color ramphoriz
- true to traverse ramp horizontally, false for verticallypublic void writeLut(OutputStream out, boolean verbose) throws IOException
out
- output streamverbose
- true to write RGB values to stderrIOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.