MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / rect

Function rect

packages/cli/src/utils/motionAudit.test.ts:20–22  ·  view source on GitHub ↗
(left: number, top: number, width: number, height: number)

Source from the content-addressed store, hash-verified

18}
19
20function rect(left: number, top: number, width: number, height: number) {
21 return { left, top, right: left + width, bottom: top + height, width, height };
22}
23
24function visible(r = rect(100, 100, 200, 80), opacity = 1): FrameSample {
25 return { rect: r, opacity, visible: true };

Callers 2

visibleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected