1 | import { Scale, ScaleOptions } from "./Scale.js";
|
2 | import { Positive } from "../core/type/Units.js";
|
3 | export interface ScaleExpOptions extends ScaleOptions {
|
4 | exponent: Positive;
|
5 | }
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare class ScaleExp extends Scale<ScaleExpOptions> {
|
16 | readonly name: string;
|
17 | |
18 |
|
19 |
|
20 | private _exp;
|
21 | |
22 |
|
23 |
|
24 |
|
25 |
|
26 | constructor(min?: number, max?: number, exponent?: number);
|
27 | constructor(options?: Partial<ScaleExpOptions>);
|
28 | static getDefaults(): ScaleExpOptions;
|
29 | /**
|
30 | * Instead of interpolating linearly between the {@link min} and
|
31 | * {@link max} values, setting the exponent will interpolate between
|
32 | * the two values with an exponential curve.
|
33 | */
|
34 | get exponent(): Positive;
|
35 | set exponent(exp: Positive);
|
36 | dispose(): this;
|
37 | }
|