Instance Method

allowsHitTesting(_:)

Configures whether this view participates in hit test operations.

Declaration

func allowsHitTesting(_ enabled: Bool) -> some View

See Also

Configuring a View for Hit Testing

func contentShape<S>(S, eoFill: Bool) -> View

Defines the content shape for hit testing.