alphaTab.model.Chord
A chord definition.
class ChordProperties​
barreFrets​
Gets or sets a list of frets where the finger should hold a barre
- JavaScript
- C#
- Kotlin
barreFrets: number[];IList<double> BarreFrets { get; set; }var barreFrets: alphaTab.collections.DoubleListfirstFret​
Indicates the first fret of the chord diagram.
- JavaScript
- C#
- Kotlin
firstFret: number;double FirstFret { get; set; }var firstFret: Doublename​
Gets or sets the name of the chord
- JavaScript
- C#
- Kotlin
name: string;string Name { get; set; }var name: StringshowDiagram​
Gets or sets whether the chord diagram is shown.
- JavaScript
- C#
- Kotlin
showDiagram: boolean;bool ShowDiagram { get; set; }var showDiagram: BooleanshowFingering​
Gets or sets whether the fingering is shown below the chord diagram.
- JavaScript
- C#
- Kotlin
showFingering: boolean;bool ShowFingering { get; set; }var showFingering: BooleanshowName​
Gets or sets whether the chord name is shown above the chord diagram.
- JavaScript
- C#
- Kotlin
showName: boolean;bool ShowName { get; set; }var showName: Booleanstaff​
Gets or sets the staff the chord belongs to.
strings​
Gets or sets the frets played on the individual strings for this chord.
- The order in this list goes from the highest string to the lowest string.
- -1 indicates that the string is not played.
- JavaScript
- C#
- Kotlin
uniqueId​
Gets a unique id for this chord based on its properties.
- JavaScript
- C#
- Kotlin
readonly uniqueId: string;string UniqueId { get; }val uniqueId: String