transform(forImageWidth:height:)
Creates an affine transform for the specified image width and height.
Declaration
func transform(forImageWidth width: Int, height: Int) -> CGAffineTransformParameters
- width:
The width of the image.
- height:
The height of the image.
Return Value
An affine transform.