You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Graphics Library > drawLine

9.4 drawLine

gc:drawLine(x1, y1, x2, y2)

Draws a line from (x1,y1) to (x2,y2).

Introduced in platform.apiLevel = '1.0'