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

16 lines
344 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
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;