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 magnification(): numberSwift declarationvar magnification: CGFloatThe relative amount that the gesture has magnified by. A value of 2.0 means that the user has interacted with the gesture to increase the magnification by a factor of 2 more than before the gesture.
set magnification(value: number)Swift declarationvar magnification: CGFloatThe relative amount that the gesture has magnified by. A value of 2.0 means that the user has interacted with the gesture to increase the magnification by a factor of 2 more than before the gesture.
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 velocity(): numberSwift declarationvar velocity: CGFloatThe current magnification velocity.
set velocity(value: number)Swift declarationvar velocity: CGFloatThe current magnification velocity.
No declarations were skipped in this snapshot.