Gimp.context_get_foreground
@accepts(Gimp.RGB)
@returns(bool)
def context_get_foreground(foreground):
# Python wrapper for gimp_context_get_foreground()
Get the current GIMP foreground color.
This procedure 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
- foreground
The foreground color.
- Returns