CGPoint
extension CGPoint
-
Calculates angle between point and circle center point
Declaration
Swift
func angle(to comparisonPoint: CGPoint, startPositionOffsetAngle: CGFloat, rotationOffsetAngle: CGFloat) -> CGFloat
Parameters
comparisonPoint
Circle center point
startPositionOffsetAngle
Circle rotation offset angle
Return Value
Angle