@antv/g2
Version:
the Grammar of Graphics in Javascript
17 lines (16 loc) • 1.3 kB
TypeScript
/// <reference types="gl-matrix" />
import { Coordinate } from '@antv/coord';
export declare function isTranspose(coordinate: Coordinate): boolean;
export declare function isPolar(coordinate: Coordinate): boolean;
export declare function isRadial(coordinate: Coordinate): boolean;
export declare function isHelix(coordinate: Coordinate): boolean;
export declare function isParallel(coordinate: Coordinate): boolean;
export declare function isFisheye(coordinate: Coordinate): boolean;
export declare function isRadar(coordinate: Coordinate): boolean;
export declare function isCircular(coordinate: Coordinate): boolean;
export declare function isTheta(coordinate: Coordinate): boolean;
export declare function isNonCartesian(coordinate: Coordinate): boolean;
export declare function getRadius(coordinate: Coordinate): number;
export declare function radiusOf(coordinate: Coordinate): [number, number];
export declare function angleOf(coordinate: Coordinate, isRadius?: boolean): [number, number];
export declare function getTransformOptions(coordinate: Coordinate, type: string): [number, number] | [] | [number, number, number, number] | [import("@antv/coord/lib/type").TransformCallback] | [import("gl-matrix").mat3] | [number] | [number, number, number, number, boolean?] | [number, number, boolean?];