Sets the line width in number of pixels for any line drawing commands.