+ 1

What are meant by ctx.fillrect.fillstyle.?please.

2nd Aug 2018, 12:03 PM
ÄKoderj
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
2nd Aug 2018, 12:22 PM
Dev
Dev - avatar
+ 1
ctx means what please ?
2nd Aug 2018, 12:17 PM
ÄKoderj
+ 1
thank you Dv
2nd Aug 2018, 12:33 PM
ÄKoderj
0
this is the inside color of the shape.
2nd Aug 2018, 12:13 PM
B K