Assessment2021 09Medium: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre id='shellbody' data-qtp='canvas'></pre> | <pre id='shellbody' data-qtp='canvas' noscore=1></pre> | ||
==Check Stripe== | ==Check Stripe== |
Revision as of 12:55, 14 September 2021
1) Check Stripe
- 294 by 336
Input
xxxxxxxxxx
function drawFlag(ctx)
{
}
Output
function drawFlag(ctx) { }
function drawFlag(ctx) { }
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) { }
function drawFlag(ctx) { }
3) Squares
- 294 by 336
- Squares are 50 by 50
- Cross has thickness 6
Input
xxxxxxxxxx
function drawFlag(ctx)
{
}
Output
function drawFlag(ctx) { }
function drawFlag(ctx) { }