Expand description

Components for painting board states onto HTML canvases

Structs

Used to paint boards onto HTML canvases

Constants

Default hex colour value for black pieces

Default hex colour value for black piece outline

Default hex colour value for black square background

Whether to outline black squares

Whether to outline pieces

Default hex colour value for black piece outline

Line width when outlining black squares as proportion of min cell dimension

Line width for outlining pieces as proportion of piece radius

Proportion of square that piece fills as proportion of min cell dimension

Default hex colour value for selected piece

Default hex colour value for selected piece outline

Default hex colour value for outline of black squares

Default hex colour value for white pieces

Default hex colour value for white piece outline

Default hex colour value for white square background