C# Class UserInterface.Visualization.SpectrumLineParams

Exibir arquivo Open project: mhack/gamenoise

Public Methods

Method Description
SpectrumLineParams ( System.Windows.Controls.Canvas panel, float fftBuffer, int width, int height, System color1, System color2, System background, int linewidth, int distance, bool centerView, bool useSteps, int stepHeight, int stepDistance, bool dynamic ) : System

Initialize Params

Method Details

SpectrumLineParams() public method

Initialize Params
public SpectrumLineParams ( System.Windows.Controls.Canvas panel, float fftBuffer, int width, int height, System color1, System color2, System background, int linewidth, int distance, bool centerView, bool useSteps, int stepHeight, int stepDistance, bool dynamic ) : System
panel System.Windows.Controls.Canvas WPF canvas Panel
fftBuffer float Buffer with the FFT Data
width int Width of the WPF canvasa
height int Height of the WPF canvas
color1 System First color of the line
color2 System Second color of the line
background System Background Color of the panel
linewidth int Width of the line
distance int Margin between two lines
centerView bool
useSteps bool
stepHeight int
stepDistance int
dynamic bool Reduce all line if one is heigher than the panel
return System