共用方式為


UIColor.FromDisplayP3(nfloat, nfloat, nfloat, nfloat) 方法

定義

從 P3 色彩空間中的指定值建立新的色彩。

[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

參數

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

傳回

屬性

備註

(此節點的更多檔即將推出)

這可從背景執行緒使用。

適用於