Changes the relative position of this shape using the specified coordinates.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The horizontal amount, in points, by which you offset the shape. Negative numbers are to the left and positive numbers are to the right.
The vertical amount, in points, by which you offset the shape. Negative numbers are up and positive numbers are down.
A shape offset by the specified amount.
The following example shows two circles: One circle at its default position and another outlined with a stroke is overlaid on top and offset by 100 points to the left and 50 points below.