Поделиться через


CIColor.FromRgb Метод

Определение

Перегрузки

FromRgb(nfloat, nfloat, nfloat)

Создает из CIColor предоставленных redзначений , greenи blue .

FromRgb(nfloat, nfloat, nfloat, CGColorSpace)

FromRgb(nfloat, nfloat, nfloat)

Создает из CIColor предоставленных redзначений , greenи blue .

[Foundation.Export("colorWithRed:green:blue:")]
public static CoreImage.CIColor FromRgb (nfloat red, nfloat green, nfloat blue);
static member FromRgb : nfloat * nfloat * nfloat -> CoreImage.CIColor

Параметры

red
nfloat
green
nfloat
blue
nfloat

Возвращаемое значение

Атрибуты

Применяется к

FromRgb(nfloat, nfloat, nfloat, CGColorSpace)

[Foundation.Export("colorWithRed:green:blue:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreImage.CIColor FromRgb (nfloat red, nfloat green, nfloat blue, CoreGraphics.CGColorSpace colorSpace);
static member FromRgb : nfloat * nfloat * nfloat * CoreGraphics.CGColorSpace -> CoreImage.CIColor

Параметры

red
nfloat
green
nfloat
blue
nfloat
colorSpace
CGColorSpace

Возвращаемое значение

Атрибуты

Применяется к