<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/GraphicsContext/BlendMode-swift.struct/overlay",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15GraphicsContextV9BlendModeV7overlayAEvpZ"
  },
  "title" : "overlay"
}
-->

# overlay

A mode that either multiplies or screens the source image samples
with the background image samples, depending on the background
color.

```
static var overlay: GraphicsContext.BlendMode { get }
```

## Discussion

Drawing in this mode overlays the existing image samples
while preserving the highlights and shadows of the
background. The background color mixes with the source
image to reflect the lightness or darkness of the
background.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)