C# Class AlphaTab.Rendering.Staves.StaveGroup

A stave consists of a list of different staves and groups them using an accolade.
Afficher le fichier Open project: CoderLine/alphaTab Class Usage Examples

Méthodes publiques

Méthode Description
AddBars ( AlphaTab.Model.Track tracks, int barIndex ) : AddBarsToStaveGroupResult
AddStave ( AlphaTab.Model.Track track, Staff staff ) : void
FinalizeGroup ( ScoreLayout scoreLayout ) : void
GetBarX ( int index ) : float
Paint ( float cx, float cy, ICanvas canvas ) : void
PaintPartial ( float cx, float cy, ICanvas canvas, int startIndex, int count ) : void
RevertLastBar ( ) : void
ScaleToWidth ( float width ) : void
StaveGroup ( ) : System

Private Methods

Méthode Description
BuildBoundingsLookup ( float cx, float cy ) : void
GetStaveTrackGroup ( AlphaTab.Model.Track track ) : StaveTrackGroup

Method Details

AddBars() public méthode

public AddBars ( AlphaTab.Model.Track tracks, int barIndex ) : AddBarsToStaveGroupResult
tracks AlphaTab.Model.Track
barIndex int
Résultat AddBarsToStaveGroupResult

AddStave() public méthode

public AddStave ( AlphaTab.Model.Track track, Staff staff ) : void
track AlphaTab.Model.Track
staff Staff
Résultat void

FinalizeGroup() public méthode

public FinalizeGroup ( ScoreLayout scoreLayout ) : void
scoreLayout AlphaTab.Rendering.Layout.ScoreLayout
Résultat void

GetBarX() public méthode

public GetBarX ( int index ) : float
index int
Résultat float

Paint() public méthode

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Résultat void

PaintPartial() public méthode

public PaintPartial ( float cx, float cy, ICanvas canvas, int startIndex, int count ) : void
cx float
cy float
canvas ICanvas
startIndex int
count int
Résultat void

RevertLastBar() public méthode

public RevertLastBar ( ) : void
Résultat void

ScaleToWidth() public méthode

public ScaleToWidth ( float width ) : void
width float
Résultat void

StaveGroup() public méthode

public StaveGroup ( ) : System
Résultat System