init(minimumAngleDelta:inputKinds:)
Creates a rotation gesture with a minimum delta for the gesture to start, and the input kinds the gesture recognizes.
Declaration
nonisolated init(minimumAngleDelta: Angle = .degrees(1), inputKinds: GestureInputKinds = .all)Parameters
- minimumAngleDelta:
The minimum delta required before the gesture starts. The default value is a one-degree angle.
- inputKinds:
A set of input kinds that this gesture recognizes. If not specified, the gesture will recognize all applicable input kinds that a person can use to perform it.