TOC : Script API > JavaScript > JavaScript API > GeneralScript > DrawingContext > Property >

 

lineWidth

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > DrawingContext > Property >

 

lineWidth

 

 

Line width.

 

 

 

Prototype :

 

float lineWidth

 

 

 

Reference :

 

The default is 1.

 

 

 

Example :

 

ctx.lineWidth = 2;

 

 

 

Available Events :

 

OnPreDraw,  OnPostDraw