WANALYZER_VERTICAL_LINE structure |
|
The WANALYZER_VERTICAL_LINE structure (defined as WANALYZER_VERTICAL_LINE_DLL when used for COM interoperability) describes settings applied to a vertical line added to the Waveform Analyzer through the WaveformAnalyzer.GraphicItemVerticalLineAdd method. The current settings can be retrieved through the WaveformAnalyzer.GraphicItemVerticalLineParamsGet method and modified through the WaveformAnalyzer.GraphicItemVerticalLineParamsSet method.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
This structure can be also used with vertical lines added to the TracksBoard through the TracksBoard.VerticalLineAdd method. Current settings can be retrieved through the TracksBoard.VerticalLineParamsGet method and modified through the TracksBoard.VerticalLineParamsSet method.
For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.
For further details about methods of the TracksBoard refer to the TracksBoard object section.
C# definition
public struct WANALYZER_VERTICAL_LINE
{
public Color color;
public enumWaveformLineDashStyles nDashStyle;
public Int16 nWidth;
public Int16 nTranspFactor;
public enumLineCaps nHighCap;
public enumLineCaps nLowCap;
public enumLineDashCaps nDashCap;
}
Definition for COM Interoperability
public struct WANALYZER_VERTICAL_LINE_DLL
{
public Int32 color;
public Int32 nDashStyle;
public Int16 nWidth;
public Int16 nTranspFactor;
public Int32 nHighCap;
public Int32 nLowCap;
public Int32 nDashCap;
}
Member |
Description |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
Color used for rendering the line. |
|||||||||||||||||||||||||
Line dash style. Supported values are the following:
On the screenshot below you can see the different types of vertical lines with the corresponding value displayed on the buddy text:
|
|||||||||||||||||||||||||
Line width in pixels. |
|||||||||||||||||||||||||
Transparent factor. This value can range from 0 (total opacity) to 255 (total transparency). Values outside of this range will be automatically capped to the nearest valid value. |
|||||||||||||||||||||||||
Type of cap for the high end of the line. Supported values are the following:
On the screenshot below you can see the different types of line caps with the corresponding value displayed on the buddy text:
|
|||||||||||||||||||||||||
Type of cap for the low end of the line. Supported values are the same as seen for the nHighCap field above. |
|||||||||||||||||||||||||
Type of dash/dot cap for the line. Supported values are the following:
On the screenshot below you can see the different types of line dash caps with the corresponding value displayed on the buddy text:
|