I have now isolated this bug. The problem is a combination of 2 things: using a mask on a vector object and turning on anti-aliasing in a config file. Below is some sample code demonstrating the problem:
[lua]local group = display.newGroup()
local bgd = display.newRect(0,0,320,480)
group:insert(bgd)
bgd:setFillColor(100,100,100)
local mask = graphics.newMask(“pickScene-mask.png”)
group:setMask(mask)
group.maskX, group.maskY = 160, 240
local testRect = display.newRect(30,30,100,100)
group:insert(testRect)
testRect:setFillColor(200,200,200)
testRect.strokeWidth = 3
testRect:setStrokeColor(0,0,0)[/lua]
Using just that code alone, everything works fine. When I add a config file with anti-aliasing:
[lua]application =
{
content =
{
antialias=true,
},
}[/lua]
The border to the rectangle goes away. Short of making the rectangle a graphic, I do not have any ideas of working around this because I need to use vector circles for my app, which look terrible without anti-aliasing turned on. I would welcome alternative solutions and/or a fix to the problem. [import]uid: 3671 topic_id: 12539 reply_id: 46092[/import]