[identity profile] free-as-freedom.livejournal.com posting in [community profile] useful_faq
Подскажите, почему следующий код приводит к отрисовке линий толщиной 2 пикселя?

ctx.strokeStyle="rgb(128,128,128)";
ctx.beginPath();
ctx.moveTo(6, 41);
ctx.lineTo(6, 6);
ctx.lineTo(example.width-6, 6);
ctx.stroke();

Date: 2014-02-28 11:32 am (UTC)
From: [identity profile] chabapok.livejournal.com
по умолчанию какая-то толщина стоит, вероятно.

я не очень большой знаток канвасов - точней не помогу