context_set_pattern


Description:


[ Version ( since = "2.2" ) ]
public bool context_set_pattern (Pattern pattern)

Set the active pattern.

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

Parameters:

pattern

The pattern.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0