first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/**
* 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;
}