Contents

init(imageRect:in:)

Creates a normalized rectangle from a rectangle in an image coordinate space.

Declaration

init(imageRect: CGRect, in imageSize: CGSize)

Parameters

  • imageRect:

    A rectangle in the image coordinate space.

  • imageSize:

    The size of the image.

See Also

Creating a normalized rectangle