uni-ticket-system/node_modules/@jimp/plugin-shadow/index.d.ts
2023-12-05 10:11:10 +08:00

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;