MCPcopy Create free account
hub / github.com/arwes/arwes / formatFramePath

Function formatFramePath

packages/frames/src/internal/formatFramePath.ts:54–60  ·  view source on GitHub ↗
(
  width: number,
  height: number,
  path: FrameSettingsPathDefinition
)

Source from the content-addressed store, hash-verified

52}
53
54const formatFramePath = (
55 width: number,
56 height: number,
57 path: FrameSettingsPathDefinition
58): string => {
59 return path.map((command) => formatCommand(width, height, command)).join(' ')
60}
61
62export { formatFramePath }

Callers 2

drawFrameElementsFunction · 0.85

Calls 1

formatCommandFunction · 0.85

Tested by

no test coverage detected