Gimp.context_set_line_width_unit

function context_set_line_width_unit(line_width_unit: Gimp.Unit): Boolean {
    // Gjs wrapper for gimp_context_set_line_width_unit()
}
  

Set the line width unit setting.

This procedure modifies the line width unit setting for stroking lines.

This setting affects the following procedures: Gimp.Drawable.prototype.edit_stroke_selection, Gimp.Drawable.prototype.edit_stroke_item.

Since 2.10

line_width_unit

The line width setting unit.

Returns

TRUE on success.