Contents

init(imageRect:in:normalizedTo:)

Creates a rectangle normalized to a region of interest in an image from a rectangle in an image coordinate space.

Declaration

init(imageRect: CGRect, in imageSize: CGSize, normalizedTo regionOfInterest: NormalizedRect)

Parameters

  • imageRect:

    A rectangle in the image coordinate space.

  • imageSize:

    The size of the image.

  • regionOfInterest:

    The region of interest.

See Also

Creating a normalized rectangle