How do I draw a border around a display object in Corona Lua?

Posted by Greg on Game Development See other posts from Game Development or by Greg
Published on 2012-04-15T22:01:48Z Indexed on 2012/04/16 11:46 UTC
Read the original article Hit count: 605

Filed under:
|

What would be the easiest way to draw a thin border around a display object in Corona Lua?

You could assume it's rectangular image display object.

EDIT - re "this question shows no research effort. You should tell us what you've tried and how it didn't work"

  • Reviewed API and could not find a "border" method/property on displayObject
  • Have tried creating a black box slightly bigger behind object, however can not see how to place object behind an existing object hence question How do I move an existing display object behind another in Corona Lua?
  • Google results for putting a border around a display object in corona didn't help

© Game Development or respective owner

Related posts about lua

Related posts about corona-sdk