0
How do you get the height from a fillRect? I'm not too sure on how to solve it
The question I got was, A fillRect (36,10,22,12) indicates a rectangle with a height of... and the answer is 12 but I'm not sure why or how it's 12. i've reviewed the lesson again and again and I feel like just being dumb. Please help me!
9 Answers
+ 2
It's 12 because the last parameter is always the height. (The first and second form the starting coordinates, the third is the width.)
https://www.w3schools.com/tags/canvas_fillrect.asp
0
the correct answer is :-
12
0
fillRect (36,10,22,12) indicates a rectangle with a height of 12 (the last parameter)
0
the answer is the last paramter : 12
0
the correct answer is :-
12
0
12
0
12
0
fillRect (36,10,22,12) indicates a rectangle with a height of...
Answer is:- 12
0
12