correctSuitablePosition.d.ts 218 B

1234567891011
  1. /**
  2. * 纠正缩放后偏离中心区域位置
  3. */
  4. export default function correctSuitablePosition({ x, y, scale, }: {
  5. x: number;
  6. y: number;
  7. scale: number;
  8. }): {
  9. x: number;
  10. y: number;
  11. };