- Preparing search index...
- The search index is not available
vexflow
Methods
addTickable
- addTickable(tickable, voiceIndex?): TickContext
-
Parameters
-
-
Optional
voiceIndex: number
getCenterAlignedTickables
getFormatterMetrics
- getFormatterMetrics(): {
freedom: {
left: number;
right: number;
};
}
-
Returns {
freedom: {
left: number;
right: number;
};
}
-
freedom: {
left: number;
right: number;
}
-
left: number
-
right: number
getTickID
- getTickID(): number
-
Returns number
getTickableForVoice
- getTickableForVoice(voiceIndex): Tickable
-
getTickablesByVoice
- getTickablesByVoice(): Record<string, Tickable>
-
Returns Record<string, Tickable>
getWidth
- getWidth(): number
-
Returns number
getX
- getX(): number
-
Returns number
getXBase
- getXBase(): number
-
Returns number
getXOffset
- getXOffset(): number
-
Returns number
setCurrentTick
- setCurrentTick(tick): void
-
Returns void
setXBase
- setXBase(xBase): void
-
Returns void
setXOffset
- setXOffset(xOffset): void
-
Returns void
TickContext formats abstract tickable objects, such as notes, chords, tabs, etc.