location(in:)
Converts the represented gesture recognizer’s current location to a SwiftUI coordinate space of an ancestor of the view the gesture recognizer is attached to.
Declaration
func location(in coordinateSpace: some CoordinateSpaceProtocol) -> CGPointParameters
- coordinateSpace:
The SwiftUI coordinate space to convert to.