Bewerken

Delen via


UIImage.ImageWithRenderingMode(UIImageRenderingMode) Method

Definition

Creates a UIImage based on the current one, with the specified renderingMode.

[Foundation.Export("imageWithRenderingMode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public virtual UIKit.UIImage ImageWithRenderingMode (UIKit.UIImageRenderingMode renderingMode);
abstract member ImageWithRenderingMode : UIKit.UIImageRenderingMode -> UIKit.UIImage
override this.ImageWithRenderingMode : UIKit.UIImageRenderingMode -> UIKit.UIImage

Parameters

renderingMode
UIImageRenderingMode

Rendering mode to be used for the new image.

Returns

New image with specified rendering mode.

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to