alphablend: Perform alpha blending for pairs of RGBA colors.

Description Usage Arguments Value References See Also

View source: R/vis_surface_background.R

Description

Implements the *over* alpha blending operation.

Usage

1
alphablend(front_color, back_color, silent = TRUE)

Arguments

front_color

rgba color strings, the upper color layer or foreground

back_color

rgba color strings, the lower color layer or background

silent

logical, whether to suppress messages

Value

rgba color strings, the alpha-blended colors

References

see the *Alpha blending* section on https://en.wikipedia.org/wiki/Alpha_compositing

See Also

Other color functions: desaturate()


fsbrain documentation built on May 12, 2021, 5:06 p.m.