Skip to content Skip to sidebar Skip to footer

Canvas Draws Lines Too Thick

I want to draw lines on my canvas element at every 48px high. Here's my code (a little jquery selector included since I also use jQuery). var $canvas = $('canvas') , maxY =

Solution 1:

Change your initial Y to +0.5 (or -0.5) and you'll get nice lines.


Post a Comment for "Canvas Draws Lines Too Thick"