TRACKSBOARD_RULERS_SETTINGS structure |
|
The TRACKSBOARD_RULERS_SETTINGS structure describes settings applied while rendering the time and amplitude rulers on the TracksBoard. The current settings can be retrieved through the TracksBoard.SettingsRulersGet method and modified through the TracksBoard.SettingsRulersSet 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 TRACKSBOARD_RULERS_SETTINGS
{
public enumVolumeScales nAmplitudeScale;
public bool bVisibleLeft;
public bool bTicksLeft;
public bool bVisibleRight;
public bool bTicksRight;
public bool bVisibleTop;
public bool bTicksTop;
public bool bVisibleBottom;
public bool bTicksBottom;
public Color colorBackground;
public Color colorTicks;
public Color colorText;
public Int16 nTopRulerHeightInPix;
public Int16 nBottomRulerHeightInPix;
public Int16 nVertRulerWidthInPix;
public float fTimeTicksFrequencyInPix;
}
Member |
Description |
|||||||||
|
|
|||||||||
Scale used for vertical rulers indicating waveform amplitude. Supported values are the following:
|
||||||||||
Boolean value that specifies if the left amplitude ruler is visible. Supported values are the following:
|
||||||||||
Boolean value that specifies if the left amplitude ruler has ticks. Supported values are the following:
|
||||||||||
Boolean value that specifies if the right amplitude ruler is visible. Supported values are the following:
|
||||||||||
Boolean value that specifies if the right amplitude ruler has ticks. Supported values are the following:
|
||||||||||
Boolean value that specifies if the top time ruler is visible. Supported values are the following:
|
||||||||||
Boolean value that specifies if the top time ruler has ticks. Supported values are the following:
|
||||||||||
Boolean value that specifies if the bottom time ruler is visible. Supported values are the following:
|
||||||||||
Boolean value that specifies if the bottom time ruler has ticks. Supported values are the following:
|
||||||||||
Color used for rendering the rulers background. |
||||||||||
Color used for rendering rulers ticks. |
||||||||||
Color used for rendering rulers texts. |
||||||||||
Height of the top time ruler in pixels. The default value is 16 pixels. |
||||||||||
Height of the bottom time ruler in pixels. The default value is 16 pixels. |
||||||||||
Width of vertical amplitude rulers in pixels. The default value is 41 pixels. |
||||||||||
Frequency of the time ticks in pixels. The default value is 40 pixels. |