Contents

offset(x:y:)

Returns a transition that offset the view by the specified x and y values.

Declaration

@MainActor @preconcurrency static func offset(x: CGFloat = 0, y: CGFloat = 0) -> Self

See Also

Getting built-in transitions