Skip to content

Latest commit

History

History
26 lines (20 loc) 路 338 Bytes

File metadata and controls

26 lines (20 loc) 路 338 Bytes

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