MCPcopy Create free account
hub / github.com/microsoft/SandDance / Rectangle1

Function Rectangle1

docs/app/js/sanddance-app.js:23100–23109  ·  view source on GitHub ↗
(left, right, top, bottom)

Source from the content-addressed store, hash-verified

23098 * {@docCategory Rectangle}
23099 */ var Rectangle = /** @class */ function() {
23100 function Rectangle1(left, right, top, bottom) {
23101 if (left === void 0) left = 0;
23102 if (right === void 0) right = 0;
23103 if (top === void 0) top = 0;
23104 if (bottom === void 0) bottom = 0;
23105 this.top = top;
23106 this.bottom = bottom;
23107 this.left = left;
23108 this.right = right;
23109 }
23110 Object.defineProperty(Rectangle1.prototype, "width", {
23111 /**
23112 * Calculated automatically by subtracting the right from left

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected