Returns a new view that defines the content shape for hit-testing self as shape. eoFill defines whether the shape is interpreted using the even-odd winding number rule or not.
On This Page
func contentShape<S>(_ shape: S, eoFill: Bool = false) -> some View where S : Shape
func allowsHitTesting(Bool) -> View
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.