UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

13 lines (12 loc) 393 B
import { DisplayObject } from '@antv/g'; export declare const GEOMETRY_ATTRIBUTES: { circle: string[]; ellipse: string[]; rect: string[]; image: string[]; line: string[]; polyline: string[]; polygon: string[]; }; export declare function attributeOf(shape: DisplayObject, keys: string[], useDefaultValue?: boolean): {}; export declare const attributeKeys: string[];