Return Value 戻り値
A view that applies blend
to this view.
あるビュー、それはblend
をこのビューに適用するものです。
Availability 有効性
Technology
A view that applies blend
to this view.
あるビュー、それはblend
をこのビューに適用するものです。
blendMode
The Blend
for compositing this view.
Use blend
to combine overlapping views and use a different visual effect to produce the result. The Blend
enumeration defines many possible effects.
In the example below, the two overlapping rectangles have a Blend
effect applied, which effectively removes the non-overlapping portion of the second image:
HStack {
Color.yellow.frame(width: 50, height: 50, alignment: .center)
Color.red.frame(width: 50, height: 50, alignment: .center)
.rotationEffect(.degrees(45))
.padding(-20)
.blendMode(.colorBurn)
}