Edit

Share via


UIImageRenderingMode Enum

Definition

An enumeration whose values specify rendering modes for a UIImage.

public enum UIImageRenderingMode
type UIImageRenderingMode = 
Inheritance
UIImageRenderingMode

Fields

Name Value Description
Automatic 0

The default rendering mode for the context.

AlwaysOriginal 1

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

AlwaysTemplate 2

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

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