12345678910 |
- /**
- * @see https://github.com/antvis/G2/discussions/4557
- */
- import { Coordinate } from '@antv/coord';
- import { DisplayObject } from '@antv/g';
- import { G2MarkState, G2Theme, GuideComponentPosition as GCP } from './types/common';
- import { G2GuideComponentOptions, G2Library, G2Mark, G2ScaleOptions, G2View } from './types/options';
- export declare function inferComponent(scales: G2ScaleOptions[], partialOptions: G2View, library: G2Library): G2GuideComponentOptions[];
- export declare function renderComponent(component: G2GuideComponentOptions, coordinate: Coordinate, theme: G2Theme, library: G2Library, markState: Map<G2Mark, G2MarkState>): DisplayObject<any, any>;
- export declare function computeComponentSize(component: G2GuideComponentOptions, crossSize: number, crossPadding: [number, number], position: GCP, theme: G2Theme, library: G2Library): G2GuideComponentOptions;
|