Hello everone,
do anyone knows how to fillup a drawn area with color by display.newLine() ?
for example these Star:
local star = display.newLine( 200, 90, 227, 165 )
star:append( 305,165, 243,216, 265,290, 200,245, 135,290, 157,215, 95,165, 173,165, 200,90 )
star:setStrokeColor( 1, 0, 0, 1 )
star.strokeWidth = 8
component.addToView(star)
Thanks!