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

16 lines
344 B
TypeScript

import { ImageCallback } from '@jimp/core';
interface Shadow {
shadow(options?: {
size?: number,
opacity?: number,
blur: number,
x?: number,
y?: number
},
cb?: ImageCallback<this>): this;
shadow(cb?: ImageCallback<this>): this;
}
export default function(): Shadow;