Gimp.context_get_foreground
function context_get_foreground(): Gegl.Color {
// Gjs wrapper for gimp_context_get_foreground()
}
Get the current GIMP foreground color.
Returns the current GIMP foreground color. The foreground color is used in a variety of tools such as paint tools, blending, and bucket fill.
Since 2.2
- Returns
The foreground color.