How to draw a geometrical Line using corona SDK?

By | January 18, 2012

This is actually very simple in corona.

local function drawLine( event )
  if(event.phase == "ended" ) then
        line = display.newLine(event.xStart, event.yStart, event.x, event.y)
        line.width = 5
Website Pin Facebook Twitter Myspace Friendfeed Technorati Digg Google StumbleUpon Premium Responsive

Leave a Reply

Your email address will not be published. Required fields are marked *