utils.d.ts 510 B

12345678910111213
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { NzZoomTransform } from '../interface';
  6. /**
  7. * Calculate position and scale
  8. *
  9. * @param containerEle
  10. * @param targetEle
  11. * @param scale: if scale is set, skip calculate scale value
  12. */
  13. export declare const calculateTransform: (containerEle: SVGSVGElement, targetEle: SVGGElement, scale?: number) => NzZoomTransform | null;