getSuitableImageSize.d.ts 249 B

12345678910
  1. /**
  2. * 获取图片合适的大小
  3. */
  4. export default function getSuitableImageSize(naturalWidth: number, naturalHeight: number, rotate: number): {
  5. width: number;
  6. height: number;
  7. x: number;
  8. y: number;
  9. scale: number;
  10. };