Witam,
mam taki kod:
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Canvas</title>
</head>
<body style="margin: 0 !important;">
<canvas id="canvas" style="width: 100%; height: 100%;"></canvas>
<script>
var c=document.getElementById("canvas");
var ctx=c.getContext("2d");
ctx.strokeRect(0,0,10,10);
ctx.fillText("a",100,100);
</script>
</body>
</html>
Wygląda to tak:
Chciałbym, aby nie było to tak rozmazane, wie ktoś jak to zrobić?
Z góry dziękuję.
Pozdrawiam