Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<html>
<body>
<canvas id="c" width="200" height="200" style="border:1px solid black; transform:scaleY(-1);"></canvas>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "blue";
ctx.fillRect(0, 0, 200, 50);
</script>
</body>
</html>