startAnchor
TypeScriptget startAnchor(): _SwiftUICore_UnitPointSwift declarationvar startAnchor: UnitPointThe initial anchor point of the gesture in the modified view's coordinate space.
struct · iOS 17.0+ · SDK 27.1
struct ValueThe type representing the gesture's value.
get startAnchor(): _SwiftUICore_UnitPointSwift declarationvar startAnchor: UnitPointThe initial anchor point of the gesture in the modified view's coordinate space.
set startAnchor(value: _SwiftUICore_UnitPoint)Swift declarationvar startAnchor: UnitPointThe initial anchor point of the gesture in the modified view's coordinate space.
get startLocation(): { x: number; y: number }Swift declarationvar startLocation: CGPointThe initial center of the gesture in the modified view's coordinate space.
set startLocation(value: { x: number; y: number })Swift declarationvar startLocation: CGPointThe initial center of the gesture in the modified view's coordinate space.
get time(): globalThis.DateSwift declarationvar time: DateThe time associated with the gesture's current event.
set time(value: globalThis.Date)Swift declarationvar time: DateThe time associated with the gesture's current event.
get rotation(): _SwiftUICore_AngleSwift declarationvar rotation: AngleThe relative amount that the gesture has rotated by. A value of 30 degrees means that the user has interacted with the gesture to rotate by 30 degrees relative to the amount before the gesture.
set rotation(value: _SwiftUICore_Angle)Swift declarationvar rotation: AngleThe relative amount that the gesture has rotated by. A value of 30 degrees means that the user has interacted with the gesture to rotate by 30 degrees relative to the amount before the gesture.
get velocity(): _SwiftUICore_AngleSwift declarationvar velocity: AngleThe current rotation velocity.
set velocity(value: _SwiftUICore_Angle)Swift declarationvar velocity: AngleThe current rotation velocity.
No declarations were skipped in this snapshot.