---
title: "blendMode(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/shapestyle/blendmode(_:)-swift.type.method"
---

# blendMode(_:)

Returns a new style based on the current style that uses mode as its blend mode when drawing.

## Declaration

```swift
static func blendMode(_ mode: BlendMode) -> some ShapeStyle

```

## Discussion

Discussion In most contexts the current style is the foreground but e.g. when setting the value of the background style, that becomes the current implicit style. For example, a circle filled with the current foreground style and the overlay blend mode: Circle().fill(.blendMode(.overlay))

## See Also

### Configuring the default shape style

- [opacity(_:)](swiftui/shapestyle/opacity(_:)-swift.type.method.md)
- [shadow(_:)](swiftui/shapestyle/shadow(_:)-swift.type.method.md)
