public static class SpectrogramPlotter.SpectroStyle extends Object implements Style
| Constructor and Description |
|---|
SpectroStyle(Shader shader,
Scaling scaling,
Subrange dataclip,
Color nullColor,
boolean scaleSpectra)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.
|
boolean |
getScaleSpectra()
Indicates whether an attempt will be made to plot spectra
on a scaled axis.
|
int |
hashCode() |
public SpectroStyle(Shader shader, Scaling scaling, Subrange dataclip, Color nullColor, boolean scaleSpectra)
shader - shaderscaling - maps data values to shader rampdataclip - scaling range adjustmentnullColor - colour to use for blank spectral valuesscaleSpectra - whether attempt is made to plot spectra
on scaled axispublic boolean getScaleSpectra()
public Icon getLegendIcon()
StylegetLegendIcon in interface StyleCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.