SnapGrid
SnapGrid 类型定义了在面板上对齐节点的网格大小。它与 snapToGrid 属性结合使用,以启用网格对齐功能。
🌐 The SnapGrid type defines the grid size for snapping nodes on the pane. It is used in conjunction with the snapToGrid prop to enable grid snapping functionality.
type SnapGrid = [number, number];Last updated on