Interesting point for gradient property .luminanceToAlpa()
The dark regions in a view become transparent, and the bright regions become opaque black.
LinearGradient(gradient: Gradient(colors: [Color.clear, Color.white]), startPoint: .center
, endPoint: .bottom)
.luminanceToAlpha()