UIImageRenderingMode UIImageRenderingMode Enum

Definition

An enumeration whose values specify rendering modes for a UIImage.

public enum UIImageRenderingMode
type UIImageRenderingMode = 
Inheritance
UIImageRenderingModeUIImageRenderingMode

Fields

AlwaysOriginal AlwaysOriginal 1

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

AlwaysTemplate AlwaysTemplate 2

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

Automatic Automatic 0

The default rendering mode for the context.

Remarks

A template image is used as a mask to create the final image. A template image inherits the P:UIKit.UIImage.TintColor of its parent. Application developers who do not want this behavior should use AlwaysOriginal.

Applies to