Gimp.context_get_gradient

function context_get_gradient(): Gimp.Gradient {
    // Gjs wrapper for gimp_context_get_gradient()
}
  

Get the currently active gradient.

Returns the currently active gradient.

Since 2.2

Returns

The active gradient.