display.newLine strokeWidth not accurate

Hello everyone,

I’ve been fiddling in the past few days with Corona sdk, and I really like its simplicity.

But I am facing  this kind of weird behavior that is happening both when running in the simulator or on any real device.

I am trying to draw a bunch of newLines like the following:

local trailPath = display.newLine( balls[i].prevx + 19, balls[i].prevy + 20, balls[i].x + 19, balls[i].y + 20 ) trailPath.strokeWidth = 1 trailPath.alpha = 1 trailPath:setStrokeColor( unpack(selectLineColor(balls[i].fillcolor)) ) pathGroup:insert(trailPath)  

But what I am really getting is a bunch of newLines with random strokeWidths that are sometimes thicker or thinner (I can’t be sure which is right and which is wrong) as seen in the attached picture (3rd line from the left is thinner than the others).

Am I doing something wrong here? Is there a better way of drawing lines with constant widths? 

Thanks

We are experiencing the same problem with the latest build. Line width are not always what they should be

We are experiencing the same problem with the latest build. Line width are not always what they should be