Skip to content Skip to sidebar Skip to footer

Blurry Text Still In Canvas

I am using Konva and creating a html canvas object and setting it as my shape's image. I am drawing the width and height of this image shape inside its canvas (across the top and d

Solution 1:

The canvas will automatically blur graphics that are given coordinates that are decimals.

Try rounding/casting them to the nearest integer.

ctx.fillText("Text",xPos | 0,yPos | 0);
ctx.fillText("Text",parseInt(xPos),parseInt(yPos));

Post a Comment for "Blurry Text Still In Canvas"