Skip to Content
参考类型

NodeOrigin

节点的原点决定了它相对于自身坐标的位置。 [0, 0] 将其放置在左上角,[0.5, 0.5] 放置在正中心,[1, 1] 放置在其位置的右下角。

🌐 The origin of a Node determines how it is placed relative to its own coordinates. [0, 0] places it at the top left corner, [0.5, 0.5] right in the center and [1, 1] at the bottom right of its position.

export type NodeOrigin = [number, number];
Last updated on