示例工程 30-multi-window-state
30-multi-window-state/app/.tsc/shared/bounds.d.ts
export type Rect = {
x: number;
y: number;
width: number;
height: number;
};
export declare function intersectionArea(a: Rect, b: Rect): number;
export declare function pickArea(bounds: Rect, areas: Rect[]): Rect;
export declare function clampToArea(bounds: Rect, area: Rect, minWidth?: number, minHeight?: number): Rect;
//# sourceMappingURL=bounds.d.ts.map