Gimp.context_get_paint_mode

function context_get_paint_mode(): Gimp.LayerMode {
    // Gjs wrapper for gimp_context_get_paint_mode()
}
  

Get the paint mode.

Returns the paint-mode setting. The return value is an integer which corresponds to the values listed in the argument description.

Since 2.2

Returns

The paint mode.