C# Класс AlphaTab.Rendering.TabBarRenderer

This BarRenderer renders a bar using guitar tablature notation
Наследование: BarRendererBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DoLayout ( ) : void
GetNoteX ( Note note, bool onEnd = true ) : float
GetNoteY ( Note note ) : float
GetTabY ( int line, float correction ) : float

Gets the relative y position of the given steps relative to first line.

TabBarRenderer ( Bar bar ) : AlphaTab.Model

Защищенные методы

Метод Описание
CreateBeatGlyphs ( ) : void
CreatePostBeatGlyphs ( ) : void
CreatePreBeatGlyphs ( ) : void
PaintBackground ( float cx, float cy, ICanvas canvas ) : void

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

Метод Описание
CreateVoiceGlyphs ( Voice v ) : void

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

CreateBeatGlyphs() защищенный Метод

protected CreateBeatGlyphs ( ) : void
Результат void

CreatePostBeatGlyphs() защищенный Метод

protected CreatePostBeatGlyphs ( ) : void
Результат void

CreatePreBeatGlyphs() защищенный Метод

protected CreatePreBeatGlyphs ( ) : void
Результат void

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

public DoLayout ( ) : void
Результат void

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

public GetNoteX ( Note note, bool onEnd = true ) : float
note AlphaTab.Model.Note
onEnd bool
Результат float

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

public GetNoteY ( Note note ) : float
note AlphaTab.Model.Note
Результат float

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

Gets the relative y position of the given steps relative to first line.
public GetTabY ( int line, float correction ) : float
line int the amount of steps while 2 steps are one line
correction float
Результат float

PaintBackground() защищенный Метод

protected PaintBackground ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Результат void

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

public TabBarRenderer ( Bar bar ) : AlphaTab.Model
bar AlphaTab.Model.Bar
Результат AlphaTab.Model