C# Class MidiSheetMusic.ChordSymbol

Inheritance: MusicSymbol
Afficher le fichier Open project: BYVoid/MidiToSheetMusic Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

CanCreateBeam() public static méthode

public static CanCreateBeam ( ChordSymbol chords, TimeSignature time, bool startQuarter ) : bool
chords ChordSymbol
time TimeSignature
startQuarter bool
Résultat bool

ChordSymbol() public méthode

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
Résultat System

CreateBeam() public static méthode

public static CreateBeam ( ChordSymbol chords, int spacing ) : void
chords ChordSymbol
spacing int
Résultat void

Draw() public méthode

public Draw ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
Résultat void

DrawAccid() public méthode

public DrawAccid ( Graphics g, Pen pen, int ytop ) : int
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
Résultat int

DrawNoteLetters() public méthode

public DrawNoteLetters ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
topstaff WhiteNote
Résultat void

DrawNotes() public méthode

public DrawNotes ( Graphics g, Pen pen, int ytop, WhiteNote topstaff ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
topstaff WhiteNote
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string