Difference between revisions of "Assessment2021 09Medium"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre id='shellbody' data-qtp='canvas'></pre> | <pre id='shellbody' data-qtp='canvas' noscore=1></pre> | ||
==Check Stripe== | ==Check Stripe== | ||
Line 6: | Line 6: | ||
[[Image:Banners_CheckStripe.png|border]] | [[Image:Banners_CheckStripe.png|border]] | ||
<pre class='usr'> | <pre class='usr'> | ||
function drawFlag(ctx) | function drawFlag(ctx) | ||
{ | { | ||
Line 25: | Line 20: | ||
[[Image:Banners_Stripes.png|border]] | [[Image:Banners_Stripes.png|border]] | ||
<pre class='usr'> | <pre class='usr'> | ||
function drawFlag(ctx) | function drawFlag(ctx) | ||
{ | { | ||
Line 38: | 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 | ||
[[Image:Banners_Squares.png|border]] | [[Image:Banners_Squares.png|border]] | ||
<pre class='usr'> | <pre class='usr'> | ||
function drawFlag(ctx) | function drawFlag(ctx) | ||
{ | { | ||
Line 59: | Line 44: | ||
[[Image:Banners_ShieldBorder.png|border]] | [[Image:Banners_ShieldBorder.png|border]] | ||
<pre class='usr'> | <pre class='usr'> | ||
function drawFlag(ctx) | function drawFlag(ctx) | ||
{ | { |