Build: OverlayBackgroundDemo
This screen shows how to use overlay and background modifiers in SwiftUI to layer views and add backgrounds.
Target UI
------------------------- | | | [Blue Rectangle] | | with white Text | | and red Circle | | | -------------------------
Create a blue rectangle of size 200x100 points.
Add white text "Hello SwiftUI" centered inside the rectangle using overlay.
Add a small red circle (30x30 points) as an overlay aligned to the top-right corner of the rectangle.
Add a light gray rounded rectangle as the background behind the blue rectangle with corner radius 15.