copy
A mode that replaces background image samples with source image samples.
Declaration
static var copy: GraphicsContext.BlendMode { get }Discussion
Unlike the normal mode, the source image completely replaces the background, so that even transparent pixels in the source image replace opaque pixels in the background, rather than letting the background show through.
This mode implements the equation R = S where
Ris the composite image.Sis the source image.