C# Класс MidiSheetMusic.ChordSymbol

Наследование: MusicSymbol
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanCreateBeam ( ChordSymbol chords, TimeSignature time, bool startQuarter ) : bool
ChordSymbol ( List midinotes, KeySignature key, TimeSignature time, Clef c, MidiSheetMusic.SheetMusic sheet ) : System
CreateBeam ( ChordSymbol chords, int spacing ) : void
Draw ( Graphics g, Pen pen, int ytop ) : void
DrawAccid ( Graphics g, Pen pen, int ytop ) : int
DrawNoteLetters ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
DrawNotes ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
ToString ( ) : string

Приватные методы

Метод Описание
BringStemsCloser ( ChordSymbol chords ) : void
CreateAccidSymbols ( NoteData notedata, Clef clef ) : MidiSheetMusic.AccidSymbol[]
CreateNoteData ( List midinotes, KeySignature key, TimeSignature time ) : MidiSheetMusic.NoteData[]
GetAboveStaff ( ) : int
GetBelowStaff ( ) : int
GetMinWidth ( ) : int
Letter ( int notenumber, WhiteNote whitenote ) : string
LineUpStemEnds ( ChordSymbol chords ) : void
NoteName ( int notenumber, WhiteNote whitenote ) : string
NotesOverlap ( NoteData notedata, int start, int end ) : bool
StemDirection ( WhiteNote bottom, WhiteNote top, Clef clef ) : int

Описание методов

CanCreateBeam() публичный статический Метод

public static CanCreateBeam ( ChordSymbol chords, TimeSignature time, bool startQuarter ) : bool
chords ChordSymbol
time TimeSignature
startQuarter bool
Результат bool

ChordSymbol() публичный Метод

public ChordSymbol ( List midinotes, KeySignature key, TimeSignature time, Clef c, MidiSheetMusic.SheetMusic sheet ) : System
midinotes List
key KeySignature
time TimeSignature
c Clef
sheet MidiSheetMusic.SheetMusic
Результат System

CreateBeam() публичный статический Метод

public static CreateBeam ( ChordSymbol chords, int spacing ) : void
chords ChordSymbol
spacing int
Результат void

Draw() публичный Метод

public Draw ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
Результат void

DrawAccid() публичный Метод

public DrawAccid ( Graphics g, Pen pen, int ytop ) : int
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
Результат int

DrawNoteLetters() публичный Метод

public DrawNoteLetters ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
topstaff WhiteNote
Результат void

DrawNotes() публичный Метод

public DrawNotes ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
topstaff WhiteNote
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string