GT2/Ejectable/node_modules/@jimp/plugin-contain/index.d.ts

17 lines
458 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import { ImageCallback } from '@jimp/core';
interface Contain {
contain(w: number, h: number, cb?: ImageCallback<this>): this;
contain(w: number, h: number, mode?: string, cb?: ImageCallback<this>): this;
contain(w: number, h: number, alignBits?: number, cb?: ImageCallback<this>): this;
contain(
w: number,
h: number,
alignBits?: number,
mode?: string,
cb?: ImageCallback<this>
): this;
}
export default function(): Contain;