function fillRect(x1,y1,x2,y2,c){
console.log(x1,y1,x2,y2,c);
which returns this:
70 70 120 120 undefined
2 11 2 12 2016
3 10 3 12 2016
In my best understanding:
drawing rects from drawString send color as 5th parameter
same from fillRect does not use the color parameter
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
drawing is done like this
inside my module graphics are created like this:
And fillRect is doing this:
which returns this:
70 70 120 120 undefined
2 11 2 12 2016
3 10 3 12 2016
In my best understanding:
drawing rects from drawString send color as 5th parameter
same from fillRect does not use the color parameter