You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
953 B

4 months ago
import { Base } from './base';
import { IdentityOptions, Domain, Range } from '../types';
export declare class Identity extends Base<IdentityOptions> {
/**
*
* @returns
*/
protected getDefaultOptions(): IdentityOptions;
/**
* y = x
* @param x
* @returns
*/
map(x: Domain<IdentityOptions>): any;
/**
* map x = y map
* @param x
* @returns
*/
invert(x: Range<IdentityOptions>): any;
/**
* Identity Scale
* @returns Identity Scale
*/
clone(): Identity;
/**
* ticks ticks
* @returns ticks
*/
getTicks(): Range<IdentityOptions>[];
}