Skip to main content

alphaTab.ToNextBeatAnimatingCursorHandler

A cursor handler which animates the beat cursor to the next beat or end of the beat bounds depending on the cursor mode. This is the default handler when PlayerSettings.enableAnimatedBeatCursor is enabled. Custom ICursorHandler implementations can delegate to it to keep the default cursor placement.

 class ToNextBeatAnimatingCursorHandler implements ICursorHandler

Methodsโ€‹

onAttachโ€‹

(no description)

onAttach(_cursors: Cursors): void
ParameterSummary
_cursorsAll

(no description)

onDetachโ€‹

(no description)

onDetach(_cursors: Cursors): void
ParameterSummary
_cursorsAll

(no description)

placeBarCursorโ€‹

(no description)

placeBarCursor(barCursor: IContainer, beatBounds: BeatBounds): void
ParameterSummary
barCursorAll

(no description)

beatBoundsAll

(no description)

placeBeatCursorโ€‹

(no description)

placeBeatCursor(beatCursor: IContainer, beatBounds: BeatBounds, startBeatX: number): void
ParameterSummary
beatCursorAll

(no description)

beatBoundsAll

(no description)

startBeatXAll

(no description)

transitionBeatCursorโ€‹

(no description)

transitionBeatCursor(beatCursor: IContainer, _beatBounds: BeatBounds, startBeatX: number, nextBeatX: number, duration: number, cursorMode: MidiTickLookupFindBeatResultCursorMode): void
ParameterSummary
beatCursorAll

(no description)

_beatBoundsAll

(no description)

startBeatXAll

(no description)

nextBeatXAll

(no description)

durationAll

(no description)

cursorModeAll

(no description)