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

返回

属性

注解

(即将推出有关此节点的更多文档)

这可以从后台线程使用。

适用于