autoEllipsis.d.ts 399 B

1234567
  1. import { type DisplayObject, Text } from '../../../shapes';
  2. import { AxisStyleProps, EllipsisOverlapCfg } from '../types';
  3. export type Utils = {
  4. ellipsis: (text: Text, len: number, suffix?: string) => void;
  5. getTextShape: (el: DisplayObject) => Text;
  6. };
  7. export default function ellipseLabels(labels: DisplayObject[], overlapCfg: EllipsisOverlapCfg, attr: AxisStyleProps, utils: Utils): void;