Contents

clear

A mode that clears any pixels that the source image overwrites.

Declaration

static var clear: GraphicsContext.BlendMode { get }

Discussion

With this mode, you can use the source image like an eraser.

This mode implements the equation R = 0 where R is the composite image.

See Also

Accessing Porter-Duff modes