Removing FillColor?

When I create a display.newRect() and do not explicitly set a fill color there will be none.

I can set a stroke and a stroke color and it will render a rectagle in the stroke color…

If I set a fill color at a later time… it shows…

Is there a way to go back to the no fill color state?

eg: obj:RemoveFill() or similiar…
[import]uid: 6928 topic_id: 1311 reply_id: 301311[/import]

What about setting Alpha to 0 for the setFillColor to remove it?

Tom [import]uid: 6119 topic_id: 1311 reply_id: 3554[/import]

Yes… Thanks for your thoughts!

Will work… with some modification in my renderer…

I was using obj.alpha= … instead of using the alpha parameter for setFillColor and setStrokeColor so far.

That way the stroke had the same alpha. But if I change how I set alpha it will be ok!

Looks pretty cool now :slight_smile: [import]uid: 6928 topic_id: 1311 reply_id: 3555[/import]