Generic Instance Method


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.


func contentShape<S>(_ shape: S, eoFill: Bool = false) -> some View where S : Shape

See Also

Configuring a View for Hit Testing