CIColor.FromRgb Method

Definition

Overloads

FromRgb(nfloat, nfloat, nfloat)

Creates a CIColor from the supplied red, green, and blue values.

FromRgb(nfloat, nfloat, nfloat, CGColorSpace)

FromRgb(nfloat, nfloat, nfloat)

Creates a CIColor from the supplied red, green, and blue values.

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

Parameters

red
nfloat
green
nfloat
blue
nfloat

Returns

Attributes

Applies to

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

Parameters

red
nfloat
green
nfloat
blue
nfloat
colorSpace
CGColorSpace

Returns

Attributes

Applies to