HTML5 canvas - part 3: Images

added by JavaScript Kicks
6/10/2018 1:10:23 PM

533 Views

In the second part, we used transformation give life to our rectangle. However, it was still a black rectangle ... not that awesome. You can draw images onto canvas easily with drawImage, so let's try that. There's 3 ways to call the drawImage method - with 3, 5 or 9 arguments.


0 comments