office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
16 lines (15 loc) • 412 B
TypeScript
export default 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
*/
readonly width: number;
/**
* Calculated automatically by subtracting the bottom from top.
*/
readonly height: number;
}