UIImageRenderingMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.