---
title: blendMode
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/graphicscontext/blendmode-swift.property
---

# blendMode

The blend mode used by drawing operations in the context.

## Declaration

```swift
var blendMode: GraphicsContext.BlendMode { get set }
```

## Discussion

Discussion Set this value to affect how any content that you subsequently draw into the context blends with content that’s already in the context. Use one of the GraphicsContext.BlendMode values.

## See Also

### Setting opacity and the blend mode

- [opacity](swiftui/graphicscontext/opacity.md)
- [GraphicsContext.BlendMode](swiftui/graphicscontext/blendmode-swift.struct.md)
