MCPcopy
hub / github.com/figma/plugin-samples / move

Function move

circletext/code.ts:17–22  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

15
16// Creates a "move" transform.
17function move(x, y) {
18 return [
19 [1, 0, x],
20 [0, 1, y]
21 ]
22}
23
24// Creates a "rotate" transform.
25function rotate(theta: number) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected