Package dataPlotsFX.scrollingPlot2D
Interface Plot2DColours
- All Known Implementing Classes:
BeamOGramPlotInfo
,FFTPlotInfo
,Scrolling2DPlotInfo
,StandardPlot2DColours
public interface Plot2DColours
Define colours for spectrogram
- Author:
- Jamie Macaulay
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.paint.Color
getColours
(double dBLevel) Get the colour for a specified dB level.javafx.scene.paint.Color
Get the wrap colour for the spectrogram.
-
Method Details
-
getWrapColor
javafx.scene.paint.Color getWrapColor()Get the wrap colour for the spectrogram. This is the colour of the line which shows the current time location in wrap mode and should contrast with the spectrogram if possible (obviously that's a bit hard when using a multicoloured colour scheme!)- Returns:
- the wrap colour.
-
getColours
javafx.scene.paint.Color getColours(double dBLevel) Get the colour for a specified dB level.- Parameters:
dBLevel
- - the dB level in dB re 1Pa/Hz- Returns:
- the colour for the dB level
-