Assessment2021 09Medium: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
==Squares== | ==Squares== | ||
<div class='qu' data-width="100" data-height="300"> | <div class='qu' data-width="100" data-height="300"> | ||
* | *100 by 300 | ||
*Squares are 50 by 50 | *Squares are 50 by 50 | ||
*Cross has thickness 6 | *Cross has thickness 6 |
Latest revision as of 07:37, 18 September 2021
1) Check Stripe
2) Stripes
- 102 by 300
- 7 stripes
- 2 pixel white border
- each stripe is 28 pixels
Input
xxxxxxxxxx
function drawFlag(ctx)
{
}
Output
function drawFlag(ctx) { }
3) Squares
- 100 by 300
- Squares are 50 by 50
- Cross has thickness 6
Input
xxxxxxxxxx
function drawFlag(ctx)
{
}
Output
function drawFlag(ctx) { }