UNPKG

@dartbot/dartboard

Version:

Dartboard implemented as a vanilla web component

10 lines (9 loc) 289 B
import { Theme } from '../theme'; import { PolarPoint } from '../utils'; /** * Draw hits as highlighted circles on the board * @param theme * @param context * @param hits */ export declare const drawHits: (theme: Theme, context: CanvasRenderingContext2D, hits: PolarPoint[]) => void;