Skip to content

CanvasContext.drawImage has 3 override types. #13

@malash

Description

@malash

The document said CanvasContext.drawImage has 3 override types.

  • drawImage(dx, dy)
  • drawImage(dx, dy, dWidth, dHeight)
  • drawImage(sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight)

But there is only the last one:

https://github.com/wechat-miniprogram/api-typings/blob/master/types/wx/lib.wx.api.d.ts#L5012-L5031

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedIssue already fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions