@antv/g2
Version:
the Grammar of Graphics in Javascript
6 lines (5 loc) • 360 B
TypeScript
import { DataComponent as DC } from '../runtime';
export type WordCloudOptions = Omit<Record<string, any>, 'type'>;
export declare function processImageMask(img: HTMLImageElement | string): Promise<HTMLImageElement>;
export declare function normalizeFontSize(fontSize: any, range?: [number, number]): any;
export declare const WordCloud: DC<WordCloudOptions>;