C# Class MidiSheetMusic.RestSymbol

Inheritance: MusicSymbol
Show file Open project: BYVoid/MidiToSheetMusic Class Usage Examples

Public Methods

Method Description
Draw ( Graphics g, Pen pen, int ytop ) : void
DrawEighth ( Graphics g, Pen pen, int ytop ) : void
DrawHalf ( Graphics g, Pen pen, int ytop ) : void
DrawQuarter ( Graphics g, Pen pen, int ytop ) : void
DrawWhole ( Graphics g, Pen pen, int ytop ) : void
RestSymbol ( int start, NoteDuration dur ) : System
ToString ( ) : string

Method Details

Draw() public method

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

DrawEighth() public method

public DrawEighth ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
return void

DrawHalf() public method

public DrawHalf ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
return void

DrawQuarter() public method

public DrawQuarter ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
return void

DrawWhole() public method

public DrawWhole ( Graphics g, Pen pen, int ytop ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
ytop int
return void

RestSymbol() public method

public RestSymbol ( int start, NoteDuration dur ) : System
start int
dur NoteDuration
return System

ToString() public method

public ToString ( ) : string
return string