Szerkesztés

Megosztás a következőn keresztül:


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.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIColor FromDisplayP3 (nfloat red, nfloat green, nfloat blue, nfloat alpha);
static member FromDisplayP3 : nfloat * nfloat * nfloat * 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