Contents

init(targetSize:)

Creates an augmentation that crops an input image at a random location to the specified target size.

Declaration

init(targetSize: CGSize)

Parameters

  • targetSize:

    The target size of the cropping rectangle. Must be positive.

See Also

Creating an image cropper