withRenderingMode(_:)
Returns a new version of the image that uses the specified rendering mode.
Declaration
func withRenderingMode(_ renderingMode: UIImage.RenderingMode) -> UIImageParameters
- 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
withConfiguration(_:)applyingSymbolConfiguration(_:)imageFlippedForRightToLeftLayoutDirection()withHorizontallyFlippedOrientation()withAlignmentRectInsets(_:)resizableImage(withCapInsets:)resizableImage(withCapInsets:resizingMode:)imageWithoutBaseline()withBaselineOffset(fromBottom:)UIImage.ConfigurationUIImage.SymbolConfiguration