area.d.ts 394 B

12345678910111213
  1. import { Coordinate } from '@antv/coord';
  2. import { Vector2 } from '../../../runtime';
  3. import { LabelPosition } from './default';
  4. /**
  5. * Only for Area label.
  6. */
  7. export declare function area(position: LabelPosition, points: Vector2[], value: Record<string, any>, coordinate: Coordinate): {
  8. x: number;
  9. y: number;
  10. transform: string;
  11. textAlign: string;
  12. textBaseline: string;
  13. };