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.
Creates an image scaler transformer. This transformer is used to scale an image to the targetSize.
init(targetSize: CGSize)The target image size. Both width and height must be positive.