Contents

GraphicsContext.BlendMode

The ways that a graphics context combines new content with background content.

Declaration

@frozen struct BlendMode

Overview

Use one of these values to set the blendMode property of a GraphicsContext. The value that you set affects how content that you draw replaces or combines with content that you previously drew into the context.

Topics

Getting the default

Darkening

Lightening

Adding contrast

Inverting

Mixing color components

Accessing Porter-Duff modes

See Also

Setting opacity and the blend mode