Contents

convert(_:from:)

Converts a point from the specified coordinate space to the coordinate space of the current object.

Declaration

func convert(_ point: CGPoint, from coordinateSpace: any UICoordinateSpace) -> CGPoint

Parameters

  • point:

    A point in the specified coordinate space.

  • coordinateSpace:

    The coordinate space in which point is specified.

Return Value

A point specified in the coordinate space of the current object.

See Also

Converting between coordinate spaces