Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib-commonjs/Rectangle.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

26 lines
629 B
TypeScript

/**
* Rectangle helper class.
*
* @public
* {@docCategory Rectangle}
*/
export declare class Rectangle {
top: number;
bottom: number;
left: number;
right: number;
constructor(left?: number, right?: number, top?: number, bottom?: number);
/**
* Calculated automatically by subtracting the right from left
*/
get width(): number;
/**
* Calculated automatically by subtracting the bottom from top.
*/
get height(): number;
/**
* Tests if another rect is approximately equal to this rect (within 4 decimal places.)
*/
equals(rect: Rectangle): boolean;
}