index.d.ts 252 B

123456789101112
  1. import { ImageCallback } from '@jimp/core';
  2. interface Circle {
  3. circle(options?: {
  4. radius: number,
  5. x: number,
  6. y: number
  7. }, cb?: ImageCallback<this>): this;
  8. circle(cb?: ImageCallback<this>): this;
  9. }
  10. export default function(): Circle;