Changes the relative position of this shape using the specified point.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The amount, in points, by which you offset the shape. Negative numbers are to the left and up; positive numbers are to the right and 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.