offsetBy(dx:dy:)
Returns a path constructed by translating all its points.
Declaration
func offsetBy(dx: CGFloat, dy: CGFloat) -> PathParameters
- dx:
The offset to apply in the horizontal axis.
- dy:
The offset to apply in the vertical axis.
Return Value
A new copy of the path with the offset applied to all points.