autoRotate.d.ts 344 B

123456
  1. import type { DisplayObject } from '../../../shapes';
  2. import { AxisStyleProps, RotateOverlapCfg } from '../types';
  3. export type Utils = {
  4. rotate: (label: DisplayObject, rotate: number | string) => void;
  5. };
  6. export default function rotateLabels(labels: DisplayObject[], overlapCfg: RotateOverlapCfg, attr: AxisStyleProps, utils: Utils): void;