Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
17
function
move(x, y) {
18
return
[
19
[1, 0, x],
20
[0, 1, y]
21
]
22
}
23
24
// Creates a "rotate" transform.
25
function
rotate(theta: number) {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected