Type alias DrawHeaderCallback

DrawHeaderCallback: ((args: { column: GridColumn; columnIndex: number; ctx: CanvasRenderingContext2D; hasSelectedCell: boolean; hoverAmount: number; isHovered: boolean; isSelected: boolean; menuBounds: Rectangle; rect: Rectangle; spriteManager: SpriteManager; theme: Theme }) => boolean)

Type declaration

    • (args: { column: GridColumn; columnIndex: number; ctx: CanvasRenderingContext2D; hasSelectedCell: boolean; hoverAmount: number; isHovered: boolean; isSelected: boolean; menuBounds: Rectangle; rect: Rectangle; spriteManager: SpriteManager; theme: Theme }): boolean
    • Parameters

      • args: { column: GridColumn; columnIndex: number; ctx: CanvasRenderingContext2D; hasSelectedCell: boolean; hoverAmount: number; isHovered: boolean; isSelected: boolean; menuBounds: Rectangle; rect: Rectangle; spriteManager: SpriteManager; theme: Theme }
        • column: GridColumn
        • columnIndex: number
        • ctx: CanvasRenderingContext2D
        • hasSelectedCell: boolean
        • hoverAmount: number
        • isHovered: boolean
        • isSelected: boolean
        • menuBounds: Rectangle
        • rect: Rectangle
        • spriteManager: SpriteManager
        • theme: Theme

      Returns boolean

Generated using TypeDoc