offset
TypeScriptget offset(): { width: number; height: number }Swift declarationvar offset: CGSizeThe amount to offset the view by.
struct · iOS 17.0+ · SDK 27.1
nonisolated struct OffsetTransitionReturns a transition that offset the view by the specified amount.
get offset(): { width: number; height: number }Swift declarationvar offset: CGSizeThe amount to offset the view by.
set offset(value: { width: number; height: number })Swift declarationvar offset: CGSizeThe amount to offset the view by.
static init(offset: { width: number; height: number }): OffsetTransitionSwift declarationnonisolated init(_ offset: CGSize)Creates a transition that offset the view by the specified amount.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
OffsetTransition.body(content:phase:)
This declaration needs Swift generic type arguments. (no canonical witness for Self)