Contents

orientationTransform(for:)

The affine transform for changing the image to the given orientation.

Declaration

func orientationTransform(for orientation: CGImagePropertyOrientation) -> CGAffineTransform

Discussion

Returns a CGAffineTransform for the CGImagePropertyOrientation value to apply to the image.

See Also

Working with Orientation