Contents

offset(_:)

Offsets the view by the horizontal and vertical amount specified in the offset parameter.

Declaration

func offset(_ offset: CGSize) -> some VisualEffect

Parameters

  • offset:

    The distance to offset the view.

Return Value

An effect that offsets the view by offset.

See Also

Translating