lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
16 lines (15 loc) • 649 B
TypeScript
import { PassthroughWidget } from './PassthroughWidget.js';
import type { Rect } from '../helpers/Rect.js';
import type { Widget, WidgetProperties } from './Widget.js';
import type { WidgetAutoXML } from '../xml/WidgetAutoXML.js';
/**
* A container widget that rounds the corners of a child widget.
*
* @category Widget
*/
export declare class RoundedCorners<W extends Widget = Widget> extends PassthroughWidget<W> {
static autoXML: WidgetAutoXML;
constructor(child: W, properties?: Readonly<WidgetProperties>);
protected onThemeUpdated(property?: string | null): void;
protected handlePainting(dirtyRects: Array<Rect>): void;
}