C# Class AlphaTab.Rendering.Glyphs.TieGlyph

Inheritance: Glyph
Show file Open project: CoderLine/alphaTab Class Usage Examples

Protected Properties

Property Type Description
EndNote AlphaTab.Model.Note
Parent Glyph
StartNote AlphaTab.Model.Note
YOffset float

Public Methods

Method Description
DoLayout ( ) : void
Paint ( float cx, float cy, ICanvas canvas ) : void
PaintTie ( ICanvas canvas, float scale, float x1, float y1, float x2, float y2, bool down = false ) : void

paints a tie between the two given points

TieGlyph ( Note startNote, Note endNote, Glyph parent, bool forEnd ) : System

Protected Methods

Method Description
GetBeamDirection ( Note note, BarRendererBase noteRenderer ) : BeamDirection

Method Details

DoLayout() public method

public DoLayout ( ) : void
return void

GetBeamDirection() protected method

protected GetBeamDirection ( Note note, BarRendererBase noteRenderer ) : BeamDirection
note AlphaTab.Model.Note
noteRenderer BarRendererBase
return BeamDirection

Paint() public method

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
return void

PaintTie() public static method

paints a tie between the two given points
public static PaintTie ( ICanvas canvas, float scale, float x1, float y1, float x2, float y2, bool down = false ) : void
canvas ICanvas
scale float
x1 float
y1 float
x2 float
y2 float
down bool
return void

TieGlyph() public method

public TieGlyph ( Note startNote, Note endNote, Glyph parent, bool forEnd ) : System
startNote AlphaTab.Model.Note
endNote AlphaTab.Model.Note
parent Glyph
forEnd bool
return System

Property Details

EndNote protected property

protected Note,AlphaTab.Model EndNote
return AlphaTab.Model.Note

Parent protected property

protected Glyph,AlphaTab.Rendering.Glyphs Parent
return Glyph

StartNote protected property

protected Note,AlphaTab.Model StartNote
return AlphaTab.Model.Note

YOffset protected property

protected float YOffset
return float