UNPKG

@talabes/football-lineup-generator

Version:

A TypeScript library for generating visual football lineup diagrams from team positioning data. Fork of ncamaa/football-lineup-generator with bug fixes and improvements.

2 lines (1 loc) 199 B
export declare function drawFieldBackground(ctx: CanvasRenderingContext2D, width: number, height: number, fieldColor: string, backgroundImageLoaded: HTMLImageElement | null, offsetX?: number): void;