+ 1
What are meant by ctx.fillrect.fillstyle.?please.
4 Answers
+ 5
ctx is just the name you gave to the variable that stores the 2D context. It can be named anything else, of your choice.
fillStyle info:
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle
Tutorial to go for:
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial
+ 1
ctx means what please ?
+ 1
thank you Dv
0
this is the inside color of the shape.