UNPKG

goban

Version:

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

11 lines (10 loc) 579 B
import { ThemesInterface } from "./"; type StoneType = { stone: HTMLCanvasElement; shadow: HTMLCanvasElement; }; type StoneTypeArray = Array<StoneType>; export declare function preRenderImageStone(radius: number, urls: string | string[], deferredRenderCallback: () => void, show_shadow?: boolean): StoneTypeArray; export declare function placeRenderedImageStone(ctx: CanvasRenderingContext2D, shadow_ctx: CanvasRenderingContext2D | null, stone: StoneType, cx: number, cy: number, radius: number): void; export default function (THEMES: ThemesInterface): void; export {};