Field Notes
    Preparing search index...

    Type Alias LingerDraw<T>

    LingerDraw: (ctx: CanvasRenderingContext2D, entry: T, alpha: number) => void

    Draws one entry for the overlay. The overlay does NOT wrap the call in save/restore — the callback owns the context state it touches. alpha is normally in (0, 1], but is exactly 0 on the single frame where the fade completes. Invoked as a method of the overlay, once per visible entry per frame.

    Type Parameters

    • T

    Type Declaration

      • (ctx: CanvasRenderingContext2D, entry: T, alpha: number): void
      • Parameters

        • ctx: CanvasRenderingContext2D
        • entry: T
        • alpha: number

        Returns void