Help with SpriteNode with image from ui.Path
This post is deleted!last edited by pedroagb
Rounded corners come from the path line_cap_style. Try the butt option .
When paths get converted to images in shapenode, I think the frame is auto computed, so will be tight to the drawn area. You might try creating an ImageContext of the desired size, and draw the path, and then get the ui.image -- you may have more control.
Thanks for replying, I actually solved the problem myself just minutes after I posted, that's why I deleted my post.
I'm sure I'll have plenty more doubts for future posts, though :)