Contents

withRenderingMode(_:)

Returns a new version of the image that uses the specified rendering mode.

Declaration

func withRenderingMode(_ renderingMode: UIImage.RenderingMode) -> UIImage

Parameters

  • renderingMode:

    The rendering mode to use for the new image.

Return Value

A new image object with the specified rendering mode.

See Also

Related Documentation

Changing the image attributes