When polygon = TRUE, colour_blend is a function applied to the fill
and fill_palette to derive the colour. Only one of the colour blend and
fill blend can be active: setting a non-NULL colour blend clears any fill
blend (last call wins), and the fill blend then defaults to identity.
Arguments
- new
A function of one argument (a colour vector), e.g.
blends::multiply().NULL(default) resets to the default: if no fill blend is set,blends::multiply()for light panels andblends::screen()for dark panels; otherwise identity.
Examples
set_colour_blend(\(x) blends::multiply(x))