參考文檔類型XYPositionXYPosition 所有位置都儲存在具有 x 和 y 座標的物件中。 export type XYPosition = { x: number; y: number; };類型