Method Cairo.Context()->set_line_width()
- Method
set_line_width
void
set_line_width(float
|int
width
)- Description
Sets the current line width. The line width value specifies the diameter of a pen that is circular in user space.
As with the other stroke parameters, the current line width is examined by stroke(), and stroke_extents(), but does not have any effect during path construction.
The default line width value is 2.0.
- Parameter
width
a line width