$drawImage
Draw an image.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
src | The image src. | string | true |
x | The image X position. | number | true |
y | The image Y position. | number | true |
width | The image width. | number | true |
height | The image height. | number | true |
radius | The image corners radius. | number | number[] | false |