iOS Guides | Samples

MonoTouch.UIKit.UIImageRenderingMode Enumeration

An enumeration whose values specify rendering modes for a UIImage.

Syntax

[MonoTouch.ObjCRuntime.Native]
public enum UIImageRenderingMode

Remarks

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

Members

Member NameDescription
AlwaysOriginalAlways draws the original image, without treating it as a template.
AlwaysTemplateAlways draws the image as a template, ignoring its color information.
AutomaticThe default rendering mode for the context.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIImageRenderingMode are listed below.

See Also: Enum

Public Fields

AlwaysOriginalUIImageRenderingMode. Always draws the original image, without treating it as a template.
AlwaysTemplateUIImageRenderingMode. Always draws the image as a template, ignoring its color information.
AutomaticUIImageRenderingMode. The default rendering mode for the context.