Difference between revisions of "Flags of Russia"
Jump to navigation
Jump to search
(→Chita) |
(→Chita) |
||
Line 2: | Line 2: | ||
== Chita == | == Chita == | ||
<div class=qu data-width=200 data-height=136> | <div class=qu data-width=200 data-height=136> | ||
* 200 by 136 | |||
* Use yellow, red and lime | |||
[[Image:FlagChita.png]] | [[Image:FlagChita.png]] | ||
<pre class=usr> | <pre class=usr> |
Revision as of 15:17, 20 August 2021
Chita
- 200 by 136
- Use yellow, red and lime
function drawFlag(ctx){ ctx.fillStyle = 'yellow'; ctx.moveTo(0,0); ctx.lineTo(100,68); ctx.lineTo(0,136); ctx.fill(); ctx.beginPath(); ctx.fillStyle = 'lime'; ctx.moveTo(0,0); ctx.lineTo(100,68); ctx.lineTo(200,68); ctx.lineTo(200,0); ctx.fill(); ctx.beginPath(); ctx.fillStyle = 'red'; ctx.moveTo(0,136); ctx.lineTo(100,68); ctx.lineTo(200,68); ctx.lineTo(200,136); ctx.fill(); }
function drawFlag(ctx){ ctx.fillStyle = 'yellow'; ctx.moveTo(0,0); ctx.lineTo(100,68); ctx.lineTo(0,136); ctx.fill(); ctx.beginPath(); ctx.fillStyle = 'lime'; ctx.moveTo(0,0); ctx.lineTo(100,68); ctx.lineTo(200,68); ctx.lineTo(200,0); ctx.fill(); ctx.beginPath(); ctx.fillStyle = 'red'; ctx.moveTo(0,136); ctx.lineTo(100,68); ctx.lineTo(200,68); ctx.lineTo(200,136); ctx.fill(); }