Contents

toImageCoordinates(from:imageSize:origin:)

Converts a point normalized to a region within an image into full image coordinates.

Declaration

func toImageCoordinates(from regionOfInterest: NormalizedRect, imageSize: CGSize, origin: CoordinateOrigin = .lowerLeft) -> CGPoint

Parameters

  • regionOfInterest:

    The region within an image that contains the normalized point.

  • imageSize:

    The size of the image.

  • origin:

    The origin.

See Also

Converting points