Specifies the possible rendering modes for an image.


enum RenderingMode : Int


See Template Images in UIKit User Interface Catalog for a discussion of template images.


Rendering Modes

case automatic

Use the default rendering mode for the context where the image is used.

case alwaysOriginal

Always draw the original image, without treating it as a template.

case alwaysTemplate

Always draw the image as a template image, ignoring its color information.

See Also

Getting Rendering Information

var renderingMode: UIImage.RenderingMode

Determines how an image is rendered.

var imageRendererFormat: UIGraphicsImageRendererFormat

The image renderer format that is best suited for the image.