context_set_gradient


Description:


[ Version ( since = "2.2" ) ]
public bool context_set_gradient (Gradient gradient)

Sets the active gradient.

Sets the active gradient in the current context. The gradient will be used in subsequent gradient operations. Returns an error when the gradient data was uninstalled since the gradient object was created.

Parameters:

gradient

The gradient.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0