layout.d.ts 804 B

12345678910111213141516171819202122
  1. import { type INode } from '@antv/g';
  2. import { Group } from '../../shapes';
  3. import { BBox } from '../../util';
  4. import { type SeriesAttr } from '../../util/series';
  5. import type { LayoutOptions, LayoutStyleProps } from './types';
  6. export type { LayoutOptions, LayoutStyleProps };
  7. export declare class Layout extends Group {
  8. private layoutEvents;
  9. private $margin;
  10. private $padding;
  11. set margin(value: SeriesAttr);
  12. get margin(): SeriesAttr;
  13. set padding(value: SeriesAttr);
  14. get padding(): SeriesAttr;
  15. getBBox(): BBox;
  16. appendChild<T extends INode>(child: T, index?: number): T;
  17. getAvailableSpace(): BBox;
  18. constructor(options: LayoutOptions);
  19. layout(): void;
  20. bindEvents(): void;
  21. attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
  22. }