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

9.15 setPen

gc:setPen([thickness[, style]])

Sets the pen for drawing lines and borders. Thickness may be “thin”, “medium”, or “thick”. If the thickness is not specified, it defaults to “thin”. The style can be “smooth”, “dotted”, or “dashed”. If the style is not specified, it defaults to “smooth”.

Introduced in platform.apiLevel = '1.0'