Enumeration

UIImage.RenderingMode

Specifies the possible rendering modes for an image.

Declaration

enum RenderingMode : Int

Overview

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

Topics

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.