lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
18 lines (17 loc) • 654 B
TypeScript
import { FillStyle } from './FillStyle.js';
import { Theme } from './Theme.js';
/**
* A theme which always gives out a random canvas fill colour. Used for
* debugging when painting occurs. Has no properties but always has a fallback
* theme.
*
* @category Theme
*/
export declare class DebugTheme extends Theme {
/**
* @param fallback - The actual theme to use. Canvas fill color will be ignored as it is randomly generated. If none supplied, then the default theme found in {@link Theme."constructor"} is used
*/
constructor(fallback?: Theme);
get canvasFill(): FillStyle;
set canvasFill(value: FillStyle | undefined);
}