lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
9 lines (8 loc) • 316 B
TypeScript
/**
* The constraints a widget has to respect when resolving their layout. A
* 4-tuple containing, respectively, minimum width, maximum width, minimum
* height and maximum height.
*
* @category Core
*/
export type LayoutConstraints = [minWidth: number, maxWidth: number, minHeight: number, maxHeight: number];