UNPKG
@dartbot/dartboard
Version:
latest (0.4.0)
0.4.0
0.1.4
0.1.3
0.1.1
0.1.0
Dartboard implemented as a vanilla web component
docs.dartbot.com/dartboard
dartbotapp/dartboard
@dartbot/dartboard
/
dist
/
lib
/
draw-board
/
draw-hits.d.ts
10 lines
(9 loc)
•
289 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
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
;