- import { G2View } from '../runtime';
- type Size = {
- width: number;
- height: number;
- };
- /**
- * @description Get the element's bounding size.
- * @param container dom element.
- * @returns the element width and height
- */
- export declare function getContainerSize(container: HTMLElement): Size;
- /**
- * @description Calculate the real canvas size by view options.
- */
- export declare function getBBoxSize(options: G2View): Size;
- export {};
|