EXTENSION CGPoint public extension CGPoint Methods offseted(x:y:) func offseted(x: CGFloat = 0.0, y: CGFloat = 0.0) -> CGPoint Offset point by new x and y Parameters: x: x y: y Returns: new point Parameters Name Description x x y y