offset(z:)
Brings a view forward in Z by the provided distance in points.
Declaration
@export(implementation) nonisolated func offset(z: CGFloat) -> some View
Parameters
- z:
The distance to extrude the view forward in Z, in points.
Return Value
A view that is extruded forward in Z by z.