lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
17 lines (16 loc) • 607 B
TypeScript
import { Spacing } from './Spacing.js';
import type { Rect } from '../helpers/Rect.js';
import type { WidgetAutoXML } from '../xml/WidgetAutoXML.js';
import { type WidgetProperties } from './Widget.js';
/**
* A {@link Spacing} with a colored background, where the color is the same as
* the theme's text color.
*
* @category Widget
*/
export declare class Separator extends Spacing {
static autoXML: WidgetAutoXML;
constructor(properties?: Readonly<WidgetProperties>);
protected onThemeUpdated(property?: string | null): void;
protected handlePainting(dirtyRects: Array<Rect>): void;
}