Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ColorGammaInterpolationFactory

interface ColorGammaInterpolationFactory extends Function {
(a: string | ColorCommonInstance, b: string | ColorCommonInstance): ((t: number) => string);
}

§Extends

§
Function
[src]

§Call Signatures

§
(a: string | ColorCommonInstance, b: string | ColorCommonInstance): ((t: number) => string)
[src]

§Methods

§

Returns a new interpolator factory of the same type using the specified gamma. For example, to interpolate from purple to orange with a gamma of 2.2 in RGB space: d3.interpolateRgb.gamma(2.2)("purple", "orange"). See Eric Brasseur’s article, Gamma error in picture scaling, for more on gamma correction.