MCPcopy Index your code
hub / github.com/callstack/agent-device / formatRect

Function formatRect

src/utils/output.ts:492–494  ·  view source on GitHub ↗
(rect: Rect)

Source from the content-addressed store, hash-verified

490}
491
492function formatRect(rect: Rect): string {
493 return `x=${rect.x},y=${rect.y},w=${rect.width},h=${rect.height}`;
494}
495
496function formatSignedPixels(value: number): string {
497 return value > 0 ? `+${value}` : String(value);

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected