Contents

init(targetSize:)

Creates an image scaler transformer. This transformer is used to scale an image to the targetSize.

Declaration

init(targetSize: CGSize)

Parameters

  • targetSize:

    The target image size. Both width and height must be positive.

See Also

Creating a transformer