Jump to content

Bitmapdata example not working in typescript


Recommended Posts


I'm trying to do something similar to this example:



But, I'm working in TypeScript, and it doesn't 'like' the last part:

    bmd.circle(outerCircle.x, outerCircle.y, outerCircle.radius, grd);

gets me the error:

Argument of type 'CanvasGradient' is not assignable to parameter of type 'string'.

Any ideas how I resolve this?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...