Context.getLineWidth

double getLineWidth()

This function returns the current line width value exactly as set by [cairo.context.Context.setLineWidth]. Note that the value is unchanged even if the CTM has changed between the calls to [cairo.context.Context.setLineWidth] and [cairo.context.Context.getLineWidth].

Returns

the current line width.