Gimp.context_get_pattern

function context_get_pattern(): Gimp.Pattern {
    // Gjs wrapper for gimp_context_get_pattern()
}
  

Get the currently active pattern.

Returns the active pattern in the current context. All clone and bucket-fill operations with patterns will use this pattern to control the application of paint to the image.

Since 2.2

Returns

The active pattern.