Type alias DrawCustomCellCallback

DrawCustomCellCallback: ((args: { cell: GridCell; col: number; ctx: CanvasRenderingContext2D; highlighted: boolean; hoverAmount: number; hoverX: number | undefined; hoverY: number | undefined; imageLoader: ImageWindowLoader; rect: Rectangle; requestAnimationFrame: (() => void); row: number; theme: Theme }) => boolean)

Type declaration

    • (args: { cell: GridCell; col: number; ctx: CanvasRenderingContext2D; highlighted: boolean; hoverAmount: number; hoverX: number | undefined; hoverY: number | undefined; imageLoader: ImageWindowLoader; rect: Rectangle; requestAnimationFrame: (() => void); row: number; theme: Theme }): boolean
    • Parameters

      • args: { cell: GridCell; col: number; ctx: CanvasRenderingContext2D; highlighted: boolean; hoverAmount: number; hoverX: number | undefined; hoverY: number | undefined; imageLoader: ImageWindowLoader; rect: Rectangle; requestAnimationFrame: (() => void); row: number; theme: Theme }
        • cell: GridCell
        • col: number
        • ctx: CanvasRenderingContext2D
        • highlighted: boolean
        • hoverAmount: number
        • hoverX: number | undefined
        • hoverY: number | undefined
        • imageLoader: ImageWindowLoader
        • rect: Rectangle
        • requestAnimationFrame: (() => void)
            • (): void
            • Returns void

        • row: number
        • theme: Theme

      Returns boolean

Generated using TypeDoc