Share via


UIColor.FromDisplayP3(NFloat, NFloat, NFloat, NFloat) Method

Definition

Creates a new color from the specified values in the P3 color space.

[Foundation.Export("colorWithDisplayP3Red:green:blue:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIColor FromDisplayP3(System.Runtime.InteropServices.NFloat red, System.Runtime.InteropServices.NFloat green, System.Runtime.InteropServices.NFloat blue, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("colorWithDisplayP3Red:green:blue:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromDisplayP3 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> UIKit.UIColor

Parameters

red
NFloat
green
NFloat
blue
NFloat
alpha
NFloat

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to