CGPoint
public extension CGPoint
-
Convert point with respect of aspect ratio
Declaration
Swift
func convertForAspectRatioFill(from original: CGSize, to destination: CGSize) -> CGPoint
Parameters
original
Original frame size
destination
Destination frame size
Return Value
Point converted with respect of aspect ratio